Answered
How much axes should I create on one figure window in matlab R2015b ?
Why not create one axes with lots of images horizontally concatenated together? Then all you have to do is update the _'CData'_...

10 years ago | 0

Answered
Retain dummy variable labels from converting categorical to dummyvar
I wrote a function that does this, here you go: function Tdummy = dummytable(T) % Tdummy = dummytable(T) - convert categ...

10 years ago | 5

| accepted

Solved


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

10 years ago

Answered
Arithmetic operations with units
You can use units in MuPAD which is a notebook style environment: <http://www.mathworks.com/help/releases/R2015b/symbolic/mup...

10 years ago | 0

Answered
adding same size cell arrays
If you have the neural networks toolbox: gadd(A,B)

10 years ago | 2

Answered
Software requierements for Matlab Engine for Python
To deploy to Python as a web service, you'll want to look into Compiler SDK and probably MATLAB Production Server. * <http://...

10 years ago | 0

Answered
Separating an array into multiple, unequal sized arrays using a limiter
There's a nice function <http://www.mathworks.com/help/releases/R2015b/map/ref/polysplit.html |polysplit|> that will split this ...

10 years ago | 0

Answered
validation sets vs test sets
I assume you're talking about Neural Networks? If so, validation is used for the neural network to decide when training is co...

10 years ago | 0

| accepted

Answered
Error using function regexp
iscellstr(C) Has to return true. The following should remove empty or non-character elements from the cell. C = C(ce...

10 years ago | 1

Answered
How to find the Alpha Hull of 2-D image
You will need to binarize the image (however, you need to do that), find the points on the perimeter ( |find/bwperim| , or |bwbo...

10 years ago | 0

Answered
Locate array element within limits given by another array
c = discretize(a,b) c = 2 4 5 If you're running an older release without |discretize|, |histc| will do the s...

10 years ago | 0

| accepted

Answered
Change an element in diagonal of matrix
The -1st diagonal is |2:n+1:end|. You can index into that directly without ever needing |diag/tril| n = 5; x = magic(n); ...

10 years ago | 0

Answered
How do I add a column to table?
T.EleventhColumn = rand(8,1); Where 'EleventhColumn' is the name you want for the variable.

10 years ago | 31

Answered
simulink mask to pick subsystem
<http://www.mathworks.com/help/releases/R2015b/simulink/slref/variantsubsystem.html Variant Subsystem>?

10 years ago | 0

| accepted

Answered
Help with fitting linear equation
>>doc polyfit

10 years ago | 1

Answered
Matlab Report Generator append function error ?
You need to include the following in the test file before compiling it: % If compiling, make the DOM compilable if i...

10 years ago | 1

Answered
Running EXE files parallel
With parallel computing toolbox: parfor ii = 1:n system(sprintf('foo.exe -%i',ii)) end You have to build up the sy...

10 years ago | 1

Solved


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

10 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

10 years ago

Answered
Export Dependencies - command line function?
doc zip :)

10 years ago | 0

Answered
Solve 1-(0.955.^n)-(0.005.^n)*(0.995.^(n-1))*n-(0.005.^2)*(0.995.^(n-2))*n*((n-1)/2)= 1/2 numerically with matlab
fh(1.2) Gives an error because: n((n-1)/2) is an indexing assignment. I don't know what you want here, but n shoul...

10 years ago | 0

Answered
how can i get the default colormap to be JET in matlab 2014b?
set(groot,'DefaultFigureColormap',jet) But you might want to read these blog posts firsts: <http://blogs.mathworks.com/s...

10 years ago | 1

Answered
To what power can Matlab compute to?
What do you need? With Symbolic Math Toolbox, included in Student version, you can symbolically work on very large numbers. ...

10 years ago | 0

Answered
How to expand a summation with different indexes
sum(diff(f(1:4)).*n(1:3).*sum(m(3:5)))

10 years ago | 0

Answered
How can I have a timer continue after an error?
Far and away, your best bet is to fix the error :). Check if the matrix dimensions agree and if they do not, take a different c...

10 years ago | 0

Submitted


latex2image(latexstr,outputfile)
Convert Latex String to an Image

10 years ago | 3 downloads |

0.0 / 5
Thumbnail

Answered
Plot on the right y-axis
Use |plotyy|. >> plotyy(1:10,1:10,1:10,(1:10).^exp(1))

10 years ago | 0

Answered
is it possible to draw separate polygons with one fill() function?
>> fill(rand(1,3),rand(1,3),'r',rand(1,3)+1, rand(1,3)+1,'c') And |doc fill| shows the syntax

10 years ago | 0

Answered
my faceDetector = vision.CascadeObjectDetector does not work
Do you have the Computer Vision System Toolbox installed? ver

10 years ago | 0

Answered
Compiled GUI not appearing
What Walter said. function makeAtestGUI() T = testGUI(); uiwait(T.h); end Now compile this.

10 years ago | 0

Load more