Feeds
回答済み
Why are the results calculated from the function "fmincon" not stable?
to my understanding, all fmin*** functions are for local minimum only. If your function has multiple local minimizers, then the...
Why are the results calculated from the function "fmincon" not stable?
to my understanding, all fmin*** functions are for local minimum only. If your function has multiple local minimizers, then the...
7年以上 前 | 0
質問
Incorrect results from parfor
hi, thanks in advance for your help. i am constructing a function which contains a parfor loop, which i am unfamiliar with. Alt...
11年弱 前 | 1 件の回答 | 0
1
回答質問
regexp: either 'once' or 'all'
Hi, I want to do a search only for the first n times. But it seems the 'options' in regexp can only do 'once' or 'all'. no in...
11年弱 前 | 2 件の回答 | 0
2
回答回答済み
ERROR: Attempted to access dfi(3); index out of bounds because numel(dfi)=2.
change i=i+1; if sign(dfi(i))~=sign(dfi(i-1)); nihaj=nihaj+1; end to if sign(dfi(i))~=sign(dfi(i-1))...
ERROR: Attempted to access dfi(3); index out of bounds because numel(dfi)=2.
change i=i+1; if sign(dfi(i))~=sign(dfi(i-1)); nihaj=nihaj+1; end to if sign(dfi(i))~=sign(dfi(i-1))...
約11年 前 | 0
回答済み
How to form an array of sums?
syms n; x=10; N=100; % N cannot be a vector (if you want N=10:10:100, use a loop instead.) S=double(symsum(x^n/s...
How to form an array of sums?
syms n; x=10; N=100; % N cannot be a vector (if you want N=10:10:100, use a loop instead.) S=double(symsum(x^n/s...
約11年 前 | 0
回答済み
use string as a cell array.
january_ns=1, february_ns=2, march_ns=3 month={'january' 'february' 'march' }; eval([month{1},'_ns'])
use string as a cell array.
january_ns=1, february_ns=2, march_ns=3 month={'january' 'february' 'march' }; eval([month{1},'_ns'])
約11年 前 | 0
| 採用済み
質問
How to preserve the percent character '%' when importing data from excel ?
Hi, I am trying to import an excel data using xlsread. But it seems matlab cannot distinguish a cell '20%' from another cell '0...
約11年 前 | 1 件の回答 | 0