Réponse apportée
Can i undo command in command window?
You can use the command history to extract all of the "correct" commands that you've run to create a script. Press the up arrow...

plus de 10 ans il y a | 0

Réponse apportée
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'_...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 5

| A accepté

A résolu


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

plus de 10 ans il y a

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
adding same size cell arrays
If you have the neural networks toolbox: gadd(A,B)

plus de 10 ans il y a | 2

Réponse apportée
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://...

plus de 10 ans il y a | 0

Réponse apportée
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 ...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 10 ans il y a | 1

Réponse apportée
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...

plus de 10 ans il y a | 0

Réponse apportée
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...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
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); ...

plus de 10 ans il y a | 0

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

plus de 10 ans il y a | 31

Réponse apportée
simulink mask to pick subsystem
<http://www.mathworks.com/help/releases/R2015b/simulink/slref/variantsubsystem.html Variant Subsystem>?

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Help with fitting linear equation
>>doc polyfit

plus de 10 ans il y a | 1

Réponse apportée
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...

presque 11 ans il y a | 1

Réponse apportée
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...

presque 11 ans il y a | 1

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

Réponse apportée
Export Dependencies - command line function?
doc zip :)

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 1

Réponse apportée
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. ...

presque 11 ans il y a | 0

Réponse apportée
How to expand a summation with different indexes
sum(diff(f(1:4)).*n(1:3).*sum(m(3:5)))

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

A soumis


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

presque 11 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

Réponse apportée
Plot on the right y-axis
Use |plotyy|. >> plotyy(1:10,1:10,1:10,(1:10).^exp(1))

presque 11 ans il y a | 0

Réponse apportée
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

presque 11 ans il y a | 0

Réponse apportée
my faceDetector = vision.CascadeObjectDetector does not work
Do you have the Computer Vision System Toolbox installed? ver

presque 11 ans il y a | 0

Charger plus