Réponse apportée
How to call one program from another in MATLAB?
Save this first function in one M-file (copy and paste it, then save it): function [] = receives_integers() % Prints inte...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
how to change a variable value in a while loop?
I don't see where in the loop you are retrieving the value of the slider. Each time through the loop you will have to retrieve ...

environ 15 ans il y a | 0

Réponse apportée
write to file in exponential notation
Try FPRINTF instead of DLMWRITE.

environ 15 ans il y a | 0

Réponse apportée
Plot SPIKES in MATLAB
I looked at your pdf, and it is not entirely clear where you want to plot the lines. This might give you a head start, put it a...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
how to find sufficient help in MATLAB IMPORTANT - MATLAB admin
If you aren't getting sufficient help online or from the doc and you don't have a friend or coworker, I can only imagine that yo...

environ 15 ans il y a | 1

Réponse apportée
arrayfun error
Please go back and reformat your question. Use the button that looks like this: {} *Code* on the code you pasted in the windo...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
pass variable from a GUI to another
See the answer to question #26: < http://www.mathworks.com/matlabcentral/fileexchange/24861-41-complete-gui-examples>

environ 15 ans il y a | 0

Réponse apportée
Calculation of autocorrelation matrix
I don't have the econometrics toolbox, but from this: <http://en.wikipedia.org/wiki/Autocorrelation_matrix> it looks like ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Manipulation of matrices stored as { }
It looks like you could use <http://www.mathworks.com/help/techdoc/ref/repmat.html REPMAT> and/or <http://www.mathworks.com/matl...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
how do i plot this?
What is A? Try this: function x = inf_sum(t,A) k = 1:200; [k,t] = meshgrid(k,t); x = ((-1).^(k-1).*((2*A)./(k*pi)).*si...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Retrieving data from slider
In your user defined function doesn't accept the same three arguments, you will get this error. . . . *EDIT* Open the GUI ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Convert matrix to vector of structs
I am a little confused by your terminology. It seems that you are mixing the use of the terms 'stuctures' and 'fieldnames' of s...

environ 15 ans il y a | 2

Réponse apportée
File name a function argument
1. Which is it? Do you want to have the filename passed or the data in the file? 2. Do you mean that you want to call a sc...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Multiple Data tips
Try this one out: <http://www.mathworks.com/matlabcentral/fileexchange/19877-makedatatip>

environ 15 ans il y a | 0

| A accepté

Réponse apportée
what's min0?
Would you mind expanding just a touch on the context? It could be a variable. min0 = 5;

environ 15 ans il y a | 0

Réponse apportée
Trouble with editText functions in GUI
I don't think the problem is in the OpeningFcn of the figure. I don't see where you are updating the value of handles.new_image...

environ 15 ans il y a | 0

Réponse apportée
Need Help with Edit Text box in Matlab GUI ;D
This is a perennial problem with MATLAB GUIs. About the only way to come close without going into the Java is to have the strin...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Are we voting enough?
I too have been thinking about this lately. Mostly because I noticed some really good answers, some might call them 'classics' ...

environ 15 ans il y a | 2

Réponse apportée
Input changes in function
Please go back and format your code! Hightlight your pasted code, then click on the "{} Code" button. Next, clarify what you m...

environ 15 ans il y a | 1

Réponse apportée
Printing data to a GUI
You can use an editable textbox. See this <http://www.mathworks.com/matlabcentral/answers/4205-opening-and-writing-to-a-text-wi...

environ 15 ans il y a | 0

Réponse apportée
Indexing arrays with matrices
Now that is the kind of wondering that lead me to the project which lead me to the challenger! I think we can see what is going...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Problem Updating
Are you using a student edition? Perhaps this is not available on the student version.

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Peak-finding function doesn't work.
What do you mean by, "Doesn't do anything?" Do you mean you get an error? I would imagine that the error is something about an...

environ 15 ans il y a | 1

| A accepté

Question


Hump-day Challenger - MATLAB Indexing
This challenger is very easy to state: Given an array of random size and dimensions whose only nonzero element is the first ele...

environ 15 ans il y a | 5 réponses | 6

5

réponses

Réponse apportée
Double vs single
1- That would depend on how your dataset was generated. We really have no way of knowing that. 2- Use the DOUBLE function. ...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Find mod,median,total,average in Matrix
x = [80 90 70; 70 86 80; 90 80 82; 100 100 100]; mode(x,2) median(x,2) sum(x,2) mean(x,2) Also, see the help for thes...

environ 15 ans il y a | 3

| A accepté

Réponse apportée
file download
Go here: <http://www.mathworks.com/matlabcentral/fileexchange/4562-msopen> and click on the Download Now link. I have put it...

environ 15 ans il y a | 0

Réponse apportée
fzero
It would probably help if you read the help for FZERO. Type this at the command line and read it: help fzero Once you read ...

environ 15 ans il y a | 0

Réponse apportée
How to plot functions
Another way f = @(x) 1 + exp(-0.2*x).*sin(x+2); % Define the function. x = -20:.01:20; % Define an x range for the plot...

environ 15 ans il y a | 0

Réponse apportée
How to give the total amount of row from a matrix as a value?
size(M,1) % The number or rows of an array. size(M,2) % The number of columns of an array. also, S = size(M); S(1) ...

environ 15 ans il y a | 1

| A accepté

Charger plus