Community Profile

photo

Anthony


Active since 2013

Statistics

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Why is getting Uniform Random Numbers so difficult!?!?
rng('shuffle') ?

4 years ago | 0

Answered
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...

4 years ago | 0

Question


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...

8 years ago | 1 answer | 0

1

answer

Question


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...

8 years ago | 2 answers | 0

2

answers

Answered
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))...

8 years ago | 0

Answered
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...

8 years ago | 0

Answered
use string as a cell array.
january_ns=1, february_ns=2, march_ns=3 month={'january' 'february' 'march' }; eval([month{1},'_ns'])

8 years ago | 0

| accepted

Question


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...

8 years ago | 1 answer | 0

1

answer