回答済み
Accessing data inside a cell array using a loop
Woud this be working for you? % Z = input('input the test number\n '); Z=[1,2,5]; N = 10; data = cell(48,1); for i = 1:48 ...

3年以上 前 | 0

回答済み
Apply condition to specific column and extract data from that row
A = [1 2 3 2 6 6 1 8 5 3 2 7 8 4 3 6 8 1]; idx_row = (A(:,1) < 5) ...

3年以上 前 | 0

回答済み
How to make variable names using for loop
for k=1:50 v(k)=0; end

3年以上 前 | 0

回答済み
what is the mistake in this code because the output results doesn't appear?
In line 180, you are not supposed to use function "zeros" like below. zeros(j, 1:n) According to the error message, the second...

3年以上 前 | 0

回答済み
Why does the same function generate different results when coder.extrinsic is ON or OFF?
This is because math kernel libraries for code-gen fmincon and MATLAB engine's are different. This is explained in the doc "fmin...

3年以上 前 | 0