Rasul Khan
Followers: 0 Following: 0
Feeds
已回答
Categorizing array elements based on percentage
You can have the four categories separated this way. a = 1 : 20; odd_ind = a(1 : 2 : end); category1 = odd_ind( (1 : end) <= ...
Categorizing array elements based on percentage
You can have the four categories separated this way. a = 1 : 20; odd_ind = a(1 : 2 : end); category1 = odd_ind( (1 : end) <= ...
4 years 前 | 0
| 已接受
已回答
Please help me with this as soon as possible
wab =733;r=0.0405;L=0.13; theta = 0:0.1:2*pi; x = (r*sin(theta))/L; phi = asin(x); a = wab*r*sin(theta); b = L*sin(phi); w...
Please help me with this as soon as possible
wab =733;r=0.0405;L=0.13; theta = 0:0.1:2*pi; x = (r*sin(theta))/L; phi = asin(x); a = wab*r*sin(theta); b = L*sin(phi); w...
4 years 前 | 0
已回答
lim x arrow 4 x^2+3x/x^2-x-12
You have to declare x as a symbol. Try it this way syms x; f = (x^2 + 3 * x) / (x ^ 2 - x - 12); % your function result = lim...
lim x arrow 4 x^2+3x/x^2-x-12
You have to declare x as a symbol. Try it this way syms x; f = (x^2 + 3 * x) / (x ^ 2 - x - 12); % your function result = lim...
4 years 前 | 0
已回答
How to make a structure unique?
You can achieve it using this script. m = []; for i = 1 : numel(pop) m = [m ; pop(i).x]; end [~ , ia , ~] = unique(m , ...
How to make a structure unique?
You can achieve it using this script. m = []; for i = 1 : numel(pop) m = [m ; pop(i).x]; end [~ , ia , ~] = unique(m , ...
4 years 前 | 1
| 已接受
已回答
Find a row with all elements satisfying a condition
You can achieve it with a loop. The required matrix will be stored in res res = [] for i = 1 : size(mat , 1) if ~any( mat...
Find a row with all elements satisfying a condition
You can achieve it with a loop. The required matrix will be stored in res res = [] for i = 1 : size(mat , 1) if ~any( mat...
4 years 前 | 1
| 已接受
已回答
Dimensions of matrices being concatenated are not consistent.
If you take a close look you can see there are 3 rows in Q with 8 elements in the first row and 4 on subsequent rows. But MATLAB...
Dimensions of matrices being concatenated are not consistent.
If you take a close look you can see there are 3 rows in Q with 8 elements in the first row and 4 on subsequent rows. But MATLAB...
4 years 前 | 1
已回答
list of the names of the variables in a column
The output of tb(: , 1) is a cell array with all the variables. You can run this script. It will store the result in a res varia...
list of the names of the variables in a column
The output of tb(: , 1) is a cell array with all the variables. You can run this script. It will store the result in a res varia...
4 years 前 | 0
| 已接受
已回答
Mean returns Inf value why?
It's because there is atleast one Inf value in each row. You can check with this script for i = 1 : 101 if any(isinf(Mag1_...
Mean returns Inf value why?
It's because there is atleast one Inf value in each row. You can check with this script for i = 1 : 101 if any(isinf(Mag1_...
4 years 前 | 0
| 已接受
已回答
How to save System Composer Model(.slx) as Microsoft Visio(.vsd)
To build a System Composer model, you can import information about components, ports, and connections in a predefined format usi...
How to save System Composer Model(.slx) as Microsoft Visio(.vsd)
To build a System Composer model, you can import information about components, ports, and connections in a predefined format usi...
4 years 前 | 1
已回答
systemcomposer.importmodel Error Log location
The function signature of systemcomposer.importModel is function [archModel,custIdUUIDTableContainer, importLog, errorLog] = im...
systemcomposer.importmodel Error Log location
The function signature of systemcomposer.importModel is function [archModel,custIdUUIDTableContainer, importLog, errorLog] = im...
4 years 前 | 0
| 已接受