Réponse apportée
Problems with "help" and "doc" in R2014b
It looks like it's using a |help| command from an earlier release (fileparts does not currently support four outputs) Try ref...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
How to calculate indefinite integral?
Both answers are right, just simplified differently: syms x mupad_answer = int(sin(2*x-3), x) your_answer = -co...

plus de 11 ans il y a | 0

Réponse apportée
waitbar cancel button does nothing!
|gcbf| Is _*very*_ dangerous and should be avoided all of the time. It could be a figure, it could be a button, axes etc, wh...

plus de 11 ans il y a | 1

Réponse apportée
Are there hot keys (shortcuts) that enable interactive mouse controlled pan and zoom for a figure?
Here's a way that works by using the uimenu's accelerator option. There will be a menu you could use or *ctrl + letter* to acti...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
How to find the mean after every n columns?
This could be done with a simple |for|-loop or a slightly trickier reshape: % Simple data x = repmat(1:16,3,1) %% n...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Output argument "cost" (and maybe others) not assigned during call to "C:\Users\NIck\Documents\MATLAB\calcCall.m>calcCall".
You're passing in the string literal _'tod'_. Since none of the cases in the switch-case tree have _'tod'_ as an option, cost n...

plus de 11 ans il y a | 0

Réponse apportée
need a code to restart matlab automatically run a function and then restart matlab doing the same
Why not fix the errors? This sounds like a pretty bad workaround. Here it is anyway: system('matlab &');quit

plus de 11 ans il y a | 1

Réponse apportée
how to calculate euclidean distance.
Use the distance function in the Mapping Toolbox: <http://www.mathworks.com/help/releases/R2014b/map/ref/distance.html>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
About save symbolic problem!!
I's use |evalc| to capture the symbolic expression as a string and then write it out: % Something symbolic syms x y = [...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
How do I plot three columns of data (x, y, dependent_variable)?
If you want to view 3d data (spatial, spatial, value) in two d, you could use color in scatter to represent z and x/y for x/y. ...

plus de 11 ans il y a | 0

Réponse apportée
Substitue a diagonal matrix
And another: ~diag(1:3)*9

plus de 11 ans il y a | 1

Réponse apportée
How to Obtain the Indeces of the Minimum Value of Each Row in a Matrix and then Apply These Indeces to a New Matrix of the Same Size
Use |sub2ind| to build a linear index and extract with this. The rows will be |(1:size(y,1))| and the columns will be your ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
where do I unzip files I download from File Exchange?
Probably more than you want, but here was a discussion about this: <http://blogs.mathworks.com/pick/2012/12/14/a-conversation...

plus de 11 ans il y a | 0

Réponse apportée
Continious message "starting parallel pool (parpool) using the local profile"?
I'd contact tech support on that one.

plus de 11 ans il y a | 1

Réponse apportée
How could I continue working on source files while code running and generating figures?
Create invisible figures so that they don't come up. Then when you're ready to see the figures, turn them all to visible ...

plus de 11 ans il y a | 0

Réponse apportée
Problem with rng shuffle
Why do you want to reset the stream on each iteration? This will be slow. The stream is random, so just set it once at the beg...

plus de 11 ans il y a | 0

Réponse apportée
Code Previously Worked, Now keep getting "Unexpected Matlab Expression"..
function vehicleModel(0,10) A variable name must start with a letter, and a function must take in variables. function ...

plus de 11 ans il y a | 0

Réponse apportée
Converting 0 to -1, not working in function
signal = rand(1,10)>0.5 signal(signal==0) = -1 If signal is a logical, it can *ONLY* have values of 0 or 1, so anythin...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Are there hot keys (shortcuts) that enable interactive mouse controlled pan and zoom for a figure?
The techniques in this might interest you <http://www.mathworks.com/matlabcentral/fileexchange/3090-zoom-keys>

plus de 11 ans il y a | 0

Réponse apportée
Someone can help me, i need a program to generate the plot for the Fibonacci sequence
First 10 numbers: plot(arrayfun(@(x)double(feval(symengine,'numlib::fibonacci',x)),1:10))

plus de 11 ans il y a | 0

Réponse apportée
Where Can I Find Reference URLS to Make Answering Questions Here Easier?
*FAQ:* * <http://www.mathworks.com/matlabcentral/answers/57445 How do I make A1, A2, An in a loop?> * <http://www.mathworks....

plus de 11 ans il y a | 5

Réponse apportée
How do i escalate a question?
MATLAB Answers is an open community where people answer questions that interest them. MathWorks employees come here on their ow...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
compiled standalone executables fail to run now, but once did
Was it compiled on a trial license? If so, the compiled app will not run after 30 days.

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
find behavior is weird
<http://www.mathworks.com/matlabcentral/answers/57444-faq-why-is-0-3-0-2-0-1-not-equal-to-zero FAQ>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
I'm using a for loop to create a new random variable X with range [0 1], I want the forloop to ignore values above 1 and iterate untill all the values are in range.
Why not just only generate random values that meet your criteria? Here's an example: % Solve for x syms x ro y X = x*ro...

plus de 11 ans il y a | 0

Réponse apportée
How to save MAT files into a text file
How to process a sequence of files: <http://www.mathworks.com/help/releases/R2014b/matlab/import_export/process-a-sequence-of...

plus de 11 ans il y a | 0

Réponse apportée
Let MATLAB open .txt Files in Microsoft Editor
Or |winopen|

plus de 11 ans il y a | 0

Réponse apportée
Save inside parfor loop at a specific iteration step
First, the |if ii==vector| will never return true because |all| values need to be true. You would need an |any()| around it; co...

plus de 11 ans il y a | 0

Réponse apportée
How to set x axis into hours
Something along these lines (R2014b required) dt = datetime('now')-100:1/24:datetime('now'); hours = hour(dt); ...

plus de 11 ans il y a | 0

Réponse apportée
XTickLabelRotation for plotyy in MATLAB 2014bis not working.
Plotyy creates two axes on top of each other, one of who's xtick labels is off. Since |gca| is non-deterministic, you're appare...

plus de 11 ans il y a | 0

Charger plus