Réponse apportée
Extrapolation 2-D lookup table
I don't know what kind of extrapolation is done in Simulink, but have you looked on the FEX? This might help, for example: <...

environ 15 ans il y a | 0

Réponse apportée
Error in coding
Do have the correct toolboxes? Did you format the code correctly? It looks like there is some wrapping going on even on the pa...

environ 15 ans il y a | 0

Réponse apportée
How to create this function in Matlab?
If I understand you correctly, function S = mysum(a,b) S = sum(a.*b./sqrt(a.^2 + b.^2)); *EDIT* . . Sean de points o...

environ 15 ans il y a | 0

Réponse apportée
matlab guide tool
Is there a question in there somewhere?

environ 15 ans il y a | 0

Réponse apportée
push botton
You will either need to put the function in a separate M-file, or convert the script itself to a function so that the callback f...

environ 15 ans il y a | 1

Réponse apportée
removing duplicate data
Load the data, call the UNIQUE function with the rows option, then save the result.

environ 15 ans il y a | 0

Réponse apportée
Inner matrix dimensions problem
You were close, only missing one dot. z = ((2*pi)./(3*i^3))*(1-cos(i*pi))*sin(i.*x).*(exp(-3*(i^2).*t) + 2*cosh(2*(i^2).*t)...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Return to previous zoom level/location
Here is an example. load clown image(X)% Now zoom in on the eye. % After zooming in, do this: . . L = ...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Handle Graphics - run a callback function when mouse motion ceases??
I would perhaps not have the mouse motion reset a timer, but have the function which brings up the pseudo-tool-tip on a timer - ...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Ezplot x^3 + y^3 =6xy
Try this: ezplot('x.^3 + y.^3 - 6*x.*y')

environ 15 ans il y a | 0

Réponse apportée
creating GUI for my program
From your comment on Andrew's Answer, it seems that you found how to call your function by one pushbutton, but now need to store...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
finding the indices of the first (by index) negative number in the bottom row of a matrix
An alternative, R = size(T,1); LOC = [R find(T(R,:)<0,1,'first')]

environ 15 ans il y a | 2

Réponse apportée
sub2ind -> out of range subscript
The error means exactly what it says. Here is an example where we try to access element (4,6) in a 3-by-3 matrix. It should pro...

environ 15 ans il y a | 0

Réponse apportée
Version 2011 produces .FIG file unreadable by version 2006
You also could try: hgsave(fhandle,'filename','-v6') Then opening the file in 2006a with HGLOAD.

environ 15 ans il y a | 0

Réponse apportée
Plotting contour lines at specific value
Please re-paste your code and use the code format button so we can read it. I see a bunch of ? marks in the code. When using t...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Error in coding..help needed
That isn't an error, but a warning, right? You must have looked at the other question you asked about this problem. Do you con...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
How to Run an m.file from GUIDE push button?
Leave the CreateFcn alone for this task. Put the call to the M-file in the callback for the pushbutton. The callback is the fu...

environ 15 ans il y a | 5

| A accepté

Réponse apportée
value from graph
I am surprised you didn't get an error, indexing into y like that. What is y anyway, you don't define it. All I see is theta, ...

environ 15 ans il y a | 0

Réponse apportée
Determining the difference between two vectors
Expanding on Paulo's answer, to get the logical index locations of the errors, do this: locs = td~=rd now to find out how ma...

environ 15 ans il y a | 4

Réponse apportée
Overload get(0, 'MonitorPositions')
What does the code you are using do with the value returned by get(0,'MontorPosition') Depending on your answer to that que...

environ 15 ans il y a | 1

Réponse apportée
generating the list of permutations
For future reference, the first thing you should do when you have a question like this is to search the documentation. At the c...

environ 15 ans il y a | 2

Réponse apportée
Merging two figures
As an example, figure(50) plot(0:.01:1) figure(60) plot((0:.01:1).^2) Now, do this: L = findobj(50,'type','line'); ...

environ 15 ans il y a | 15

| A accepté

Réponse apportée
uigefile or uiimport for multiple files?
According to the <http://www.mathworks.com/help/techdoc/ref/uigetfile.html documentation> for UIGETFILE, you can allow the use...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
error for Index exceeds matrix dimensions
Actually, I think Tian is looking to remove the elements from the cell completely. X0 = repmat({3 0 8 7},1,3); X0 = X0(cel...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Updating variables in a "real-time" GUI
Have the image processing loop check retrieve the string property from each editbox at the beginning of the loop. You may need ...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
how to disable bootup warning message
I think STARTUP is run after such warnings are generated, so this won't help. You could put a call to CLC in STARTUP so you d...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Customizing surfc / meshc graphs
S = surfc(x,y,z); xlabel('pH'); ylabel('Ca++'); zlabel('SO4--'); title('Gypsum formation'); % Now set the surface...

environ 15 ans il y a | 0

Réponse apportée
sum
I am a little confused, do you mean like this: Y = reshape(1:18,6,3) % A manageable dimension. Y_1 = sum(Y,2) So in your ...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
@Matt Fig: where's our hump-day puzzler?
Believe it or not, I am working on one for next week! I am trying to decide whether or not it is too hard for most people to so...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
create selecting menu
Will this work for your purposes? Simply call the file with a pre-existing 2D array. function [] = selctrowsgui(A) ...

environ 15 ans il y a | 0

Charger plus