Gelöst


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

fast 7 Jahre vor

Beantwortet
Is MATLAB providing free online tutorial?
The link Image Analyst gave has all the online trainings that are available. Currently Onramp is the only one that's free*. W...

fast 7 Jahre vor | 1

Beantwortet
How can I assign custom colors to stacked bar plot
The colors of the bars are taken from the default colormap, so the easiest solution is to change the figure's colormap. Put the ...

mehr als 7 Jahre vor | 3

Frage


MATLAB poems -- let's hear 'em!
Inspired by Chad Greene's " <http://www.mathworks.com/matlabcentral/answers/217444-matlab-jokes-or-puns MATLAB jokes or puns> " ...

fast 8 Jahre vor | 3 Antworten | 3

3

Antworten

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

fast 8 Jahre vor

Beantwortet
Matlab jokes or puns
Not a joke or pun, but in the spirit of MATLAB fun: There was an old math guy called Cleve who, while teaching, a pipe-d...

fast 8 Jahre vor | 4

Gesendet


Relative to absolute file name
Converts relative path name to absolute path name

fast 8 Jahre vor | 1 Download |

Gesendet


Recursively search for files
Recursively finds all instances of files and folders with a naming pattern

fast 8 Jahre vor | 2 Downloads |

Gesendet


Example files from the "Reading Web Pages, Part 3: Speeding Up the Code" video
Example files shown in the "Speeding Up the Code" video on the "Stuart's MATLAB Videos" blog

fast 8 Jahre vor | 1 Download |

Gesendet


Example files from the "Reading Web Pages, Part 2: Using try/catch to Handle Errors" video
Example files shown in the "Using try/catch" video on the "Stuart's MATLAB Videos" blog

fast 8 Jahre vor | 1 Download |

Gesendet


Example files from the "Reading Web Pages, Part 1: Using webread" video
Example files shown in the "Using webread" video on the "Stuart's MATLAB Videos" blog

fast 8 Jahre vor | 2 Downloads |

Gesendet


Hierarchically grouped boxplot
A modification to boxplot that shows the hierarchical relationships between the grouping variables.

fast 8 Jahre vor | 3 Downloads |

Thumbnail

Gesendet


Looking Up
A planisphere for any given location and time.

fast 8 Jahre vor | 1 Download |

Thumbnail

Gesendet


The Warholer
GUI that displays an 8-color version of an image, based on RGB thresholding.

fast 8 Jahre vor | 1 Download |

Thumbnail

Beantwortet
I need a guideline to learn MATLAB faster
You can now get started in MATLAB by taking the *free* <https://matlabacademy.mathworks.com/ MATLAB Onramp>. It teaches you the ...

etwa 8 Jahre vor | 0

Beantwortet
learn matlab for beginner
Given that you have a MathWorks.com account, the easiest way to get started with MATLAB is already freely available to you: <htt...

etwa 8 Jahre vor | 0

Beantwortet
How to learn MATLAB
In addition to the online learning options Andreas mentioned, you can also get started in MATLAB by taking the *free* <https://m...

mehr als 8 Jahre vor | 17

Beantwortet
code to plot epicycle
Looks like a pretty standard homework problem. You have a bunch of scalar constants given, so just define those: >> T1 = 1;...

mehr als 8 Jahre vor | 1

Beantwortet
Using for loops to generate an array?
TastyPastry's answer is perfectly correct, but it's worth asking an important clarification: *why* do you want to do it with a |...

mehr als 8 Jahre vor | 0

Beantwortet
MATLAB Programming Techniques (online course)
I haven't *taken* the course, but I did help *write* it, so... :) As much as I hate to talk anyone out of taking our training...

mehr als 9 Jahre vor | 6

| akzeptiert

Beantwortet
plotyy x axis does not match
Try getting rid of the ticks on one x-axis (the one that hasn't been dateticked): set(ax(2),'XTick',[]) You may also wan...

mehr als 9 Jahre vor | 0

Beantwortet
Shooting method for ODE interpolation error
Set a breakpoint on line 36 and run the code. When it stops at that line, see what you get from unique(fvegpont) I'm gue...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
How can I import a specific matrix from an excel file using the xlsread command?
You need to use standard Excel indexing "topleft:bottomright": heightdata = xlsread('Height Data.xlsx','B3:KP5');

mehr als 9 Jahre vor | 2

| akzeptiert

Beantwortet
Using a time-stamp to find the median for every hour
If you could show a snippet of one of the data files I might be able to give some more specific guidance, but I'd suggest: * ...

mehr als 9 Jahre vor | 0

Beantwortet
Two basic questions in matlab
1. It won't let you. Two options: (a) pad with something, such as NaNs, (b) use cell arrays to store each matrix in a separate c...

mehr als 9 Jahre vor | 1

Beantwortet
Newton Raphson on Mathlab
Torsten showed how to find the roots of a polynomial. More generally, to find the zeros of any function: f = @(x) 0.5*x.^3 ...

mehr als 9 Jahre vor | 0

Beantwortet
Probability of being under a target
Counting the number of samples with a given criterion is easy enough: threshhold = pi; nnz(X < threshhold) The |ecdf|...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Conditionally Flip Sign in Table
One liner: A(strcmp(A(:,1),'No'),2) = strcat('-',A(strcmp(A(:,1),'No'),2)) Slightly cleaner with two lines: idx = s...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
connecting points in scatter3 plot?
OK, now I understand the problem. The issue isn't that the data is representing 3-dimensional *points*, but that it's stored in ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Overwrite empty cell array with strings
If |rowofstrings| is a 1-by-41 cell array then your first line will work if you change the |{}| to |()|: MasterCellArray(2,...

mehr als 9 Jahre vor | 0

| akzeptiert

Mehr laden