Respondida
Problem running Icoshiftdemo
Unfortunately you can not run this function in Octave, because it contains figure properties implemented only in Matlab. I've t...

casi 15 años hace | 0

Respondida
find a correlation
For highest correlation: maxR = max(max(triu(R,1))) % highest correlation [row,col] = find(R==maxR,1,'first') The great...

casi 15 años hace | 0

| aceptada

Respondida
Find similar elements in a matrix
[h1 h2] =hist(X(:),unique(X)); h3 = unique(h1); h3 = h3(end:-1:1); for k=1:length(h3) disp(['There is ' num2str(h3(k))...

casi 15 años hace | 0

| aceptada

Respondida
Find similar elements in a matrix
My suggestion: [u, ~, n] = unique(X); [h1 h2] =hist(n,unique(n)); u(h2(h1==max(h1)))

casi 15 años hace | 0

Respondida
use of ode45 for projectile trajectory including drag
To solve this system, create a function ode_func containing the equations: function dy = ode_func(x,y) k = 1; g = 9.8; v...

casi 15 años hace | 0

| aceptada

Respondida
ODE with a parameter that chages at each time step
Did you mean delay differential equations? doc dde23

casi 15 años hace | 0

Respondida
When i solve this equation, i get a surface with a slant! I dont know what is the problem, can anyone fix it?
First of all, the radius r in polar coordinates must be non-negative.

casi 15 años hace | 0

Respondida
ray casting problem
Are you familiar with this file? <http://www.mathworks.de/matlabcentral/fileexchange/26852-a-fast-voxel-traversal-algorithm-f...

casi 15 años hace | 0

Respondida
Change saved .fig figure with multiple axes and plots
Try in this way: lns = findobj('Type','Line'); for k=1:length(lns) if 'condition for identifying' set(h(k),'LineS...

casi 15 años hace | 0

Respondida
ginput question
One possibility: % Display a file I = imread('rice.png'); imshow(I); zoom on; % use mouse button to zoom in or out % Pr...

casi 15 años hace | 0

Respondida
Too many output arguments, simple but useful question
I suggest to write own function, something like this: function varargout = split(a) for k = 1:nargout varargout{k} = ...

casi 15 años hace | 1

Respondida
How to create a number of "Edit Text" feilds in a GUI, depending on the user input given in the GUI through an "Edit text" field itself?
Yes, it is possible :) Look at the example: function test e = uicontrol('Style','Edit','Units','Normalized','Position',[.4...

casi 15 años hace | 0

Respondida
Area of Triangle
According to Wikipedia: <http://en.wikipedia.org/wiki/Triangle#Using_coordinates> x = rand(3,1); y = rand(3,1); z = ra...

casi 15 años hace | 1

| aceptada

Respondida
Colour each bar in histogram and add a colorbar
The ability to change the color in each bar of a plot is not built into MATLAB: <http://www.mathworks.com/support/solutions/e...

casi 15 años hace | 0

Respondida
going next command after specified time
If you use the INPUT function you can try replace it with the WAITINPUT: http://www.mathworks.com/matlabcentral/fileexchange/...

casi 15 años hace | 1

| aceptada

Enviada


StemBar
Function similar to the matlab stem3 but drawing bars instead of lines with markers.

más de 15 años hace | 1 descarga |

3.5 / 5
Thumbnail

Enviada


Lissajous curve
LISSAJOUS - a simple example of 2D line plot in Matlab, and creating a GUI without GUIDE.

más de 15 años hace | 4 descargas |

5.0 / 5
Thumbnail

Enviada


waitinput
WAITINPUT Prompt for user input, but no longer than t seconds.

más de 15 años hace | 3 descargas |

3.0 / 5

Enviada


Wprowadzenie do Simulinka (Introduction to Simulink in Polish)
Wprowadzenie do Simulinka w formie krótkiego kursu w języku polskim.

casi 16 años hace | 3 descargas |

4.0 / 5
Thumbnail