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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 2

| aceptada

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

más de 11 años hace | 0

Respondida
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

más de 11 años hace | 1

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 2

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 5

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

Cargar más