Top 5% contributor
ah you mixed up the capitals i guess.
use ur meshgrid for your z like
z = 2*sin(X.*Y);
Answered 3 years ago
i face the following problems to which i could not find any solution yet. However i think, they are connected:
1. the c...
Asked 3 years ago
Something like this:
[n,~] = size(Data);
sgene = 'u'; %searched letter
referencepos = 1; %position of the Row in th...
The simplest form of a loop is
Result = ;
PLACE THE INITIAL AND CONSTANTS PARAMETERS HERE
for i = 1 : x
The easiest way to go is to turn all zeros into NaN's (not a number) like
Then they dont appear in the ...
hi. So the easiest way to do this is by using the function
I am looking forward to minimize the following function:
function f = alfafun2(alfa)
global S H LR;
i am doing a least square optimasation with LSQNONLIN.
The problem is that at a certain point I always get comlex values...
%At firtst you have to define your coordinate system like
% 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 ...
Use the following command
for i = 1 : xx
x = dlmread(filename, delimiter);
R_new = ;
for i = 1 : n
R_tmp = R(i,:);
if length(find(isnan(R_tmp)) ~= len...
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)
i generate a surface with surf. The problem is, that the coloring does not match the actual Data.
The Data is shown b...
Join the conversation