Answered
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...

11 years ago | 1

| accepted

Answered
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...

11 years ago | 0

Answered
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...

11 years ago | 1

Answered
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...

11 years ago | 1

| accepted

Answered
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...

11 years ago | 2

| accepted

Answered
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...

11 years ago | 0

Answered
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

11 years ago | 1

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

11 years ago | 0

| accepted

Answered
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 = [...

11 years ago | 1

| accepted

Answered
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. ...

11 years ago | 0

Answered
Substitue a diagonal matrix
And another: ~diag(1:3)*9

11 years ago | 1

Answered
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 ...

11 years ago | 0

| accepted

Answered
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...

11 years ago | 0

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

11 years ago | 1

Answered
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 ...

11 years ago | 0

Answered
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...

11 years ago | 0

Answered
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 ...

11 years ago | 0

Answered
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...

11 years ago | 2

| accepted

Answered
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>

11 years ago | 0

Answered
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))

11 years ago | 0

Answered
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....

11 years ago | 5

Answered
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...

11 years ago | 0

| accepted

Answered
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.

11 years ago | 0

| accepted

Answered
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>

11 years ago | 0

| accepted

Answered
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...

11 years ago | 0

Answered
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...

11 years ago | 0

Answered
Let MATLAB open .txt Files in Microsoft Editor
Or |winopen|

11 years ago | 0

Answered
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...

11 years ago | 0

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

11 years ago | 0

Answered
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...

11 years ago | 0

Load more