Réponse apportée
I need a guideline to learn MATLAB faster
<http://www.mathworks.com/matlabcentral/answers/1505-for-new-matlab-simulink-users-do-you-know-about-the-interactive-video-tutor...

plus de 14 ans il y a | 1

Réponse apportée
How to read a question with 90+ answers
Use your browser search function, sorry but we already complaining about that problem, it's really annoying.

plus de 14 ans il y a | 1

Réponse apportée
Not able to use function handles in MATLAB 2006b version.
Not enough info, from MATLAB 2006b documentation I see that it supports function handles, please provide more details like the e...

plus de 14 ans il y a | 0

Réponse apportée
Replace buttons
To detect if the buttons are in the figure all(cellfun(@ishandle,handles.b)) To remove all the buttons delete(handles.b...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Why are there duplicate posts in MATLAB Answers?
From my experience the system works well, it's not easy to submit duplicates. Now why do we see duplicates, good question, I g...

plus de 14 ans il y a | 0

Réponse apportée
Similarity between two matrices of different sizes
%two random arrays with variable size and data a=randi([1 10],randi([1 10]),randi([1 10])); b=randi([1 10],randi([1 10])...

plus de 14 ans il y a | 0

Réponse apportée
Plot on different figures during a loop
just get the handles from those axes and use them as first argument in the plot figure hax1=axes figure hax2=...

plus de 14 ans il y a | 8

Réponse apportée
Create a set of boxes graphically as in a Su-Do-Ku puzzle
<http://www.mathworks.com/matlabcentral/fileexchange/ FEX> and search for sudoku, there are lots of examples for solvers and gen...

plus de 14 ans il y a | 0

Réponse apportée
Graphical construction (max, min, tangent line in a point) from simulink scope / multiplot graph
Using the To Workspace block # Insert the block in your simulation and connect it to the desired output # Open the To Workspace...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
upside down plot in GUI
You may have something like this set(gca,'ydir','reverse') on your code

plus de 14 ans il y a | 0

Réponse apportée
Why do we usually use M,N,P to indicate dimensions?
They are just variables when used like this: [m,n,p] = size(rand(2,3,4)) m holds the first dimension (the number of rows) ...

plus de 14 ans il y a | 0

Réponse apportée
Adding Labels to a bar graph
I works just fine, you might be doing something else that's affecting the axes, try to run it after cla reset Also try ...

plus de 14 ans il y a | 0

Réponse apportée
Vectors problem
%generate data to work with t=linspace(0,10,10); %time vector v=rand(1,numel(t)); %vector with some random values cla;h...

plus de 14 ans il y a | 1

Réponse apportée
How did you learn MATLAB?
Hi Doug, you might find this interesting <http://www.mathworks.com/matlabcentral/answers/1899-how-long-have-you-been-using-matla...

plus de 14 ans il y a | 0

Réponse apportée
Array problem
SusanArray=[x;y]; %2 rows, first row is x and second is y %each column is a pair of values

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Error: Matrix dimensions must agree !
Maybe this can help you %random data with a random number of columns from 10 to 100 a=rand(1,randi([10 100])); b=ran...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Finding diag of two cells
Maybe cellfun(@diag,[a b],'uni',0)

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Marking where one clicked with ginput
hold on [x,y]=ginput(1) plot(x,y,'r')

plus de 14 ans il y a | 1

Réponse apportée
Trying to find a histogram half-sum point
h = [3 45 1 4 6 3 4 6 8 23 6 3 44] x=sum(cumsum(h) < sum(h)/2) fprintf('Angular Resolution Metric is at %d \n', x)

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
GUI buttons with two rows
MATLAB buttons don't support multiline (I might be wrong). Instead of buttons consider using text or edit objects, they also hav...

plus de 14 ans il y a | 0

Réponse apportée
inserting numbers in a title of a plot
Number=10; %the value you want to put on the title title(['False Load vs. Time on Day ' num2str(Number) ' of Test 1.0']) or...

plus de 14 ans il y a | 3

Réponse apportée
plotting two different function in the same figure with ezplot
ezplot supports only one expression for x and another for y so you must use two ezplots like this: y1='t^2' y2='t^2-16' ...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
Slider warnings and errors!!!
Fangjun Jiang is right, you are trying something similar to this: s=uicontrol('style','slider') set(s,'value',[1 2]) inste...

plus de 14 ans il y a | 0

Réponse apportée
Plotting Matrix points: 2
a =[30.7805 29.7667 28.7527 27.7333 25.7110 24.6923 23.6832 21.6549 19.6268 18.6114 17.5949...

plus de 14 ans il y a | 2

| A accepté

Question


kalman function from Control System Toolbox™ missing Nu value
For some strange reason the kalman function doesn't work on my MATLAB 2008b even with examples from the MATLAB documentation it ...

plus de 14 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How to use vectors in conditional functions?
For John's example code: idx=a>1 & a<3 %mark the index values where your condition is true idx1=a>2 %mark the index...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Changing number of buttons
Something similar to this figure for n=1:9 b{n}=uicontrol('Style','PushButton','Units','Normalized',... ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Adding each row to previous row in a vector-Not Cumulative
C=arrayfun(@(x)plus(A(x),A(x-1)),2:numel(A)) or with a for loop C=zeros(1,size(A,2)-1); for x=2:size(A,2) C(x-1)=A(x)+...

plus de 14 ans il y a | 0

Réponse apportée
Plotting Matrix points
stairs(B) %just one wild guess

plus de 14 ans il y a | 1

Réponse apportée
Multiple lines in "Edit Text" box in GUIDE
'edit' – Editable text fields enable users to enter or modify text values. Use editable text when you want text as input. *If Ma...

plus de 14 ans il y a | 6

Charger plus