Mohammad Alhashash
Albalqa' Applied University
Followers: 0 Following: 0
Feeds
已回答
Randomising a vector with respect to the probability of the outcome
You can use the randperm function to build 12 basic 5-by-1 matrices and then map the values into 0 and 1 based one your probabil...
Randomising a vector with respect to the probability of the outcome
You can use the randperm function to build 12 basic 5-by-1 matrices and then map the values into 0 and 1 based one your probabil...
3 years 前 | 1
| 已接受
已回答
Associate Map container with specific values
You store these Map containers into cell array of structure and create another Map container for mapping states into their corre...
Associate Map container with specific values
You store these Map containers into cell array of structure and create another Map container for mapping states into their corre...
3 years 前 | 0
已回答
Saving figures into structure?
Yes you can by simply save the plotting command (plot, bar, ...) as a string, and then use eval command to excute it. However, k...
Saving figures into structure?
Yes you can by simply save the plotting command (plot, bar, ...) as a string, and then use eval command to excute it. However, k...
3 years 前 | 1
已回答
how can we perform 6x6 matrix without values to find the inverse and determination
You can do that using the Symbolic Math Toolbox. And you can check wether you have this toolbox or not using the simple command ...
how can we perform 6x6 matrix without values to find the inverse and determination
You can do that using the Symbolic Math Toolbox. And you can check wether you have this toolbox or not using the simple command ...
5 years 前 | 0
| 已接受
已回答
How to plot sine graph by using for loop?
maybe that is what you need. t= 0:0.01:2*pi; m =sin(t); t_plot = NaN(1,length(t)); m_plot = NaN(1,length(m)); u = 1; for...
How to plot sine graph by using for loop?
maybe that is what you need. t= 0:0.01:2*pi; m =sin(t); t_plot = NaN(1,length(t)); m_plot = NaN(1,length(m)); u = 1; for...
5 years 前 | 0
已回答
Need help plotting a function in matlab
x = -10:0.05:10; fun_x_1 = exp(-0.3*x(x<0)); fun_x_2 = sin(x(x>=0).^3)-sin(x(x>=0).^2)+1; plot(x(x<0),fun_x_1,x(x>=0),fun_x_2...
Need help plotting a function in matlab
x = -10:0.05:10; fun_x_1 = exp(-0.3*x(x<0)); fun_x_2 = sin(x(x>=0).^3)-sin(x(x>=0).^2)+1; plot(x(x<0),fun_x_1,x(x>=0),fun_x_2...
5 years 前 | 0
| 已接受
已回答
Enforce the norm of the addition of two vectors plus scalar
I assumed that a and b are 3 elements-vector and then solved the equation beta analytically. a = [1 2 3]; b = [2 3 4]; beta =...
Enforce the norm of the addition of two vectors plus scalar
I assumed that a and b are 3 elements-vector and then solved the equation beta analytically. a = [1 2 3]; b = [2 3 4]; beta =...
5 years 前 | 0
| 已接受
已回答
Create symbolic variables with assumptions (syms)
Then try this one syms x assume(x,'real')
Create symbolic variables with assumptions (syms)
Then try this one syms x assume(x,'real')
5 years 前 | 0
已回答
hi , i am very new to matlab so i have a probeme , whenerver i run the function below i get that the input which is matrix is undefined , i load the matrix in my current folder but the error still
try this instead: temp1=load 'Adj.mat'
hi , i am very new to matlab so i have a probeme , whenerver i run the function below i get that the input which is matrix is undefined , i load the matrix in my current folder but the error still
try this instead: temp1=load 'Adj.mat'
5 years 前 | 0
已回答
Plot lines with different colors each iteration
I've I assumed the loop index to be ii, then you can modify the plot portion of your code to be: colorInd='ckyrb'; plot(ve...
Plot lines with different colors each iteration
I've I assumed the loop index to be ii, then you can modify the plot portion of your code to be: colorInd='ckyrb'; plot(ve...
6 years 前 | 0