Feeds
답변 있음
getting min & max of a function for different y's
Try this: x = -10:0.1:10; for i=1:200 y= 0.005*i; f1 = @(x) trapmf(x,[-2 0 0 2])-y; for ij = -10:0.01:10 ...
getting min & max of a function for different y's
Try this: x = -10:0.1:10; for i=1:200 y= 0.005*i; f1 = @(x) trapmf(x,[-2 0 0 2])-y; for ij = -10:0.01:10 ...
9년 초과 전 | 0
답변 있음
Is it possible to numerically label a segmented image?
Hello! Try this: M = im2uint8(label/NUM); imshow(M) s = regionprops(M, 'Centroid'); hold on for k...
Is it possible to numerically label a segmented image?
Hello! Try this: M = im2uint8(label/NUM); imshow(M) s = regionprops(M, 'Centroid'); hold on for k...
9년 초과 전 | 0
| 수락됨
답변 있음
How to orthogonalize a signal in respect of another signal ????
Hello! Have a look at this thread: <http://www.mathworks.com/matlabcentral/answers/2216-projecting-a-vector-to-another-vecto...
How to orthogonalize a signal in respect of another signal ????
Hello! Have a look at this thread: <http://www.mathworks.com/matlabcentral/answers/2216-projecting-a-vector-to-another-vecto...
9년 초과 전 | 0
답변 있음
Why is my function not defining my outputs and just returning "ans"?
In the script where you are using the function you need to define a variable e.g ABC = noise_removal(data); Then it will ...
Why is my function not defining my outputs and just returning "ans"?
In the script where you are using the function you need to define a variable e.g ABC = noise_removal(data); Then it will ...
9년 초과 전 | 0
| 수락됨
답변 있음
Binning 2D set of coordinates
imagesc flips the image I think. This is from the help: imagesc(x,y,C) displays C as an image and specifies the bounds of the x-...
Binning 2D set of coordinates
imagesc flips the image I think. This is from the help: imagesc(x,y,C) displays C as an image and specifies the bounds of the x-...
9년 초과 전 | 0
답변 있음
How to convert 27625 to base 10 from base 7 ?
It cannot have number 7 in it if it is in base 7. Otherwise you would do it like this: base2dec('26625',7)
How to convert 27625 to base 10 from base 7 ?
It cannot have number 7 in it if it is in base 7. Otherwise you would do it like this: base2dec('26625',7)
9년 초과 전 | 2
| 수락됨
답변 있음
How to shift date-time variable to a common start-date/time
Try this: shifted_date = datetime(actual_dates) - t_diff
How to shift date-time variable to a common start-date/time
Try this: shifted_date = datetime(actual_dates) - t_diff
9년 초과 전 | 2
답변 있음
Matlab crashes on me every time I get an error message in the command window.
Also, looking at the crash log generated by matlab could help to find the reason. Look at this thread: http://www.mathworks.com...
Matlab crashes on me every time I get an error message in the command window.
Also, looking at the crash log generated by matlab could help to find the reason. Look at this thread: http://www.mathworks.com...
9년 초과 전 | 0
답변 있음
My code primarily depends on the diameter or "d" as it is defined, however changing it to a smaller value beyond 0.001, all the results just go to infinity. How do i get around the rounding issue (it seems) ?
I think it's not a rounding issue. In Vy(i+1) = (Cd*A*rho*(Uy-Vy(i))^2*dt)/(2*m) + Vy(i); The fraction (Cd*A*rho*dt)/(2*m) is ...
My code primarily depends on the diameter or "d" as it is defined, however changing it to a smaller value beyond 0.001, all the results just go to infinity. How do i get around the rounding issue (it seems) ?
I think it's not a rounding issue. In Vy(i+1) = (Cd*A*rho*(Uy-Vy(i))^2*dt)/(2*m) + Vy(i); The fraction (Cd*A*rho*dt)/(2*m) is ...
9년 초과 전 | 0