Community Profile

photo

Mojtaba Mohareri


Last seen: 2年以上 前 2019 年からアクティブ

統計

  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


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...

2年以上 前 | 2 件の回答 | 0

2

回答

質問


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...

3年弱 前 | 0 件の回答 | 0

0

回答

質問


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...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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 ...

3年弱 前 | 1 件の回答 | 0

1

回答

質問


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...

3年以上 前 | 1 件の回答 | 0

1

回答

質問


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, ...

3年以上 前 | 2 件の回答 | 0

2

回答

質問


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...

4年弱 前 | 1 件の回答 | 0

1

回答

質問


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...

約4年 前 | 1 件の回答 | 0

1

回答

質問


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...

約4年 前 | 1 件の回答 | 0

1

回答

質問


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...

約4年 前 | 1 件の回答 | 0

1

回答

質問


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 ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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 ...

5年弱 前 | 1 件の回答 | 0

1

回答

質問


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...

5年弱 前 | 1 件の回答 | 0

1

回答