Community Profile

photo

Mojtaba Mohareri


Last seen: más de 2 años hace Con actividad desde 2019

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


How to change the color of my plots
Hello everone, I've plot my figure in matlab as follows close all clear all avalues=0.3:0.01:1; N=8000; d=0.03; a=avalues...

más de 2 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Generating a random matrix which has zero entries as well
When I generate a random matrix (for example, with the following code) bounds = [-15,10]; A = rand(m,m) * range(bounds) + bo...

casi 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How to create a symmetric random matrix with zero diagonal and with entries just 0 and 1
There is the follwoing code d = 1000000*rand(N,1); % The diagonal values t = triu(bsxfun(@min,d,d.').*rand(N),1); % The upp...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to save obtained information from matlab in Excel
Hello. I want to create some random matrices and compute some features like determinant, trace, etc., for them and then save t...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How can I find and plot the hyperplane to this simple dataset using SVM
I have this simple dataset D={[(1,1),1],[(1,-1),1],[(-1,1),-1],[(-1,-1),-1]} in which 1 denotes red points and -1 shows blue p...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to read this mtx file in matlab
Hello. How can I read the following mtx file in matlab? The main file is MatrixMarket format. I don't know much about matlab ...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to define a special function with some points
I want to define a function like this f(0.2)=1.42007; f(0.4)=1.88124; f(0.5)=2.12815; f(0.6)=2.38676; f(0.7)=2.65797; f(0...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to get random points from upper semisphere
Hello eveyone, I use this code to get random points from a sphere with radius 5: clear all clc fullFileName = fullfile(pwd, ...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


No output in my problem
I was wondering if somebody could help me about the following code which doesn't have output as a figure. Thanks in advance. cl...

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to plot a combination of product and devision of some vectors
I have three (1 in 1000) vectors x, y and z. I want to plot this function x(t)y(t)/z(t) for t=1/1000,2/1000, ... ,1. I was won...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Some question about a special code for solving an ODE system by Runge-Kutta method
The solution of my problem consists of two parts: First, I want to solve the follwong system by Runge-Kutta fourth order m...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Concerning some error For Loop in my optimal control problem
There's error ezplot(sol_a.x1,[0 1]) in my code below for solving a special optimal control problem % State equations syms x...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


A question about a special output
I've used random function rand(2,2) for my problem. The output is a matrix 2*2 of numbers somwthing like this: the first row: 1 ...

más de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


About solving a system of equations by 'For' loop
I've written 4 equations within a for loop for 10 steps. But there's the following error: Attempted to access C(1); index out ...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue
My currenct script looks like this: function m=F(x) k11=x(1); k12=x(2); k13=x(3); k14=x(4); l=x(5); f1(y1,y2,y3,y4,z...

alrededor de 5 años hace | 1 respuesta | 0

1

respuesta