Réponse apportée
ocr problem
Check out this similar problem. Instead of having so much else ifs, do a conversion of a number to string. That is, 'A' is a 65,...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How can i make a graph only with numerical values?
x=[1 2 3]; % or x=1:3 y=[3 4 6]; plot(x,y); it will plot a sequence of points. If you dont want them to be connecte...

environ 13 ans il y a | 1

Réponse apportée
Need Help with For Loops
message=input('Enter a message to encode','s'); for i=1:length(message) if (message(i)>=65 && message(i)<=90) ...

environ 13 ans il y a | 0

Réponse apportée
error in imshow()
imshow() does not take any matrix, the values mast be of some format (i am not sure). You can use imagesc(), which, I think, can...

environ 13 ans il y a | 0

Réponse apportée
There is any function substituting for this 'for loops'?
A=zeros(3,4,3); A(:,:,1)=[1 0 1 1;1 1 1 1;0 0 1 0]; A(:,:,2)=[1 1 0 0;1 1 0 1;0 0 1 0]; A(:,:,3)=[1 1 1 1;0 0 1 1;1 0 1 ...

environ 13 ans il y a | 0

Réponse apportée
solve equation without fsolve
Assuming that each RT will yield four roots: a=0.003925; b=0.110361; d=1.492690; R0=100; T=zeros(4,length...

environ 13 ans il y a | 1

Réponse apportée
how to get handle of an image opened in the GUI figure window, to be used in other callbacks.
handles.a=str2num(get(handles.parameter1,'string')); %similar to global variable (don't know for sure) guidata(hObject, h...

environ 13 ans il y a | 0

Réponse apportée
How do I plot a selective range of x-axis values
your 't' and 'm' must be the same size; open the variable 't' from Workspace and look what index contains the value of ~600. Let...

environ 13 ans il y a | 5

| A accepté

Réponse apportée
a simple clasification of matrix elements
There is one quick way to do it, however it is based on the assumption that the initial array will always have only 3 distinct v...

environ 13 ans il y a | 0

| A accepté

Question


How to keep the size aspect ratio of GUI form fixed?
Hi all. I am trying to make my GUI figure to be resizable but I need the aspect ratio to be fixed. Is this possible to achieve?

environ 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why does this happen? - In an assignment A(I) = B, the number of elements in B and I must be the same
Maybe, this will do: function dxdt = ModelingQ2(t,x) dxdt = zeros (size(x)); dxdt(1,:) = x-3; % your k(1)=1, so you can omi...

environ 13 ans il y a | 0

Réponse apportée
fsolve usage
command line: [Vo,t]=offensive(pi/6,10,.1) Your function code does not make sense. You pass theta, weight, c to it, but then y...

environ 13 ans il y a | 0

Réponse apportée
getting x and y for 3d
A=yourPicture; [H L]=size(A); dx=theRealLengthOfTheView/H; %this you must know, otherwise you can not scale the image. dy=the...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
Sum function?
n=given; i=1:2^(n-1); %gives you array of integers from 1,2,...2^(n-1) % let's say your function is f=2i; f=2*i; ...

environ 13 ans il y a | 1

| A accepté

Réponse apportée
matlab view
at the right top corner of the editor window there is a little 'down' arrow(to dock window). Press on it and the editor will be ...

environ 13 ans il y a | 14

| A accepté

Réponse apportée
How to zero pad in frequency domain ?
You zeropad a matrix of frequency spectrum the same way you would zeropad any matrix. For example, if your frequency matrix is m...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
legend
when you do plot something you can specify your 'something' by the legend to know which plot corresponds to which function. try ...

environ 13 ans il y a | 0

| A accepté

Réponse apportée
How can I plot the result of FZERO?
If you plot the function in the range from -20:20, you can see, that it crosses the x-axis around -1.0772 (and probably nowhere ...

environ 13 ans il y a | 0

| A accepté

Question


Message window in GUI (MatLab)
Hello. I am trying to create a text window in GUI that will be used to display messages/current activity of the program. It shou...

environ 13 ans il y a | 1 réponse | 0

1

réponse