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 years 前 | 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...
10 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0