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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 2

| akzeptiert

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

mehr als 11 Jahre vor | 0

Beantwortet
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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 2

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 5

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

Mehr laden