Community Profile

Contact

Top 5% contributor

ah you mixed up the capitals i guess. use ur meshgrid for your z like z = 2*sin(X.*Y); mesh(X,Y,z)

1

Answered 3 years ago

Something like this: [n,~] = size(Data); sgene = 'u'; %searched letter referencepos = 1; %position of the Row in th...

accepted

0

The simplest form of a loop is Result = []; PLACE THE INITIAL AND CONSTANTS PARAMETERS HERE for i = 1 : x 1.PL...

The easiest way to go is to turn all zeros into NaN's (not a number) like Data(Data==0)=NaN; Then they dont appear in the ...

hi. So the easiest way to do this is by using the function <http://www.mathworks.com/matlabcentral/fileexchange/13200> you...

Hi, i face the following problems to which i could not find any solution yet. However i think, they are connected: 1. the c...

1 Answers

Asked 3 years ago

Hi, I am looking forward to minimize the following function: function f = alfafun2(alfa) global S H LR; f=10.^(log...

Hi, i am doing a least square optimasation with LSQNONLIN. The problem is that at a certain point I always get comlex values...

Code: %At firtst you have to define your coordinate system like x=0:0.1:10; y=0:0.1:10; % then create the ...

you could use SMOOTH it provides a moving average, that makes a signal more continuous(flat)

something like this should work yourthreshold = 10; Data(Data>yourthreshold) = median(median(Data)); this replaces ...

for example like this: t = yourstartdate; dt = 1/24; while t < yourenddate datatmp = mean(data(Tarray ...

hi. Use the following command for i = 1 : xx x = dlmread(filename, delimiter); pause(0.001); end

hi, try this [n,~]=size(R) R_new = []; for i = 1 : n R_tmp = R(i,:); if length(find(isnan(R_tmp)) ~= len...

hi, so as far as i understood you want to minimize the function. So what wou need to do is using the matlab fundtion fminsearc...

you can set the figure properties to screen size (see <http://www.mathworks.fr/help/techdoc/ref/figure.html> ->Example)

Hi, i generate a surface with surf. The problem is, that the coloring does not match the actual Data. The Data is shown b...

2 Answers