Answered
How do I install a .mltbx file from the filesharing site into R2015a?
Navigate to the folder with the toolbox from within MATLAB and double click on the file, this will pull up a dialog.

10 years ago | 4

| accepted

Answered
How to use Permute?
reshape(A,size(A,1),12,4)

10 years ago | 1

| accepted

Answered
Find the endpoints of 3D skeleton
Convolve the 3d skeleton using |convn()| with a rubik's cube of ones. Anywhere in this new image that is equal to one or two sh...

10 years ago | 0

Answered
Import tool in r2015a not working like r2014a for excel spreadsheet import as matrix
I think this might be a bug in reading files with more than a certain number of lines from Excel (5k or 10k, I forget) in the ge...

10 years ago | 0

| accepted

Answered
Saving .mat files in a 'for' loop
save(['path/X_' num2str(j) '.mat'],'X')

10 years ago | 8

| accepted

Answered
preallocation of structure array for MATLAB coder
picturesque = struct('im1',zeros(sx,sy,sz),'im2', zeros(sx,sy,sz)); picturesque = repmat(picturesque,1,nlevels) Perhaps?

10 years ago | 1

| accepted

Answered
Cannot find where I am hitting recursion limit
The issue is indeed from calling |phi(k)| function out = phi(k) out = phi(k); end Calls itself infinitely...

10 years ago | 0

Answered
How to collapse rows of a table?
T = table({'NFLX';'NFLX';'AAPL'},datetime([2015;2015;2015],[7;7;7],[28;28;28]),[100;101;150] ,'VariableNames',{'Symbol' 'Date'...

10 years ago | 1

| accepted

Answered
Question about vision.ShapeInserter, bounding box problem.
Try zooming in/expanding the size of the figure/movie player?

10 years ago | 0

Answered
How to automatically choose to compute for or parfor loops
You can use this syntax for |parfor| parfor (loopvar = initval:endval, M); statements; end Where _M_ is dynamically dete...

10 years ago | 5

| accepted

Answered
Converting a 3D matrix into 2D matrix correctly
feat = reshape(x,size(x,1)*size(x,2),size(x,3))

10 years ago | 1

| accepted

Answered
How can I know in a function/script that it is run in Publish mode?
Look at |dbstack|. You could write a function which looks through the stack to see if |publish| was used: function out = i...

10 years ago | 0

Answered
How can I use image processing functions such as imfindcircles in a simulink matlab function block? I get an error when I use this function.
You could also use an interpreted matlab function block so that Simulink doesn't generate code for it. You'll take a performanc...

10 years ago | 0

Answered
how to find the largest element if you have an EXTREMELY large data array?
Ahhh! It has nothing to do with size, it has to do with <http://www.mathworks.com/help/releases/R2015a/matlab/matlab_prog/com...

10 years ago | 0

| accepted

Answered
Can this silly accumarray for-loop be removed by a vectorization?
A = randi(32280,28); [UA,~,idx] = unique(A(:,1)); [X,Y] = ndgrid(idx, 2:size(A,2)); newcolumns = accumarray([X(:), Y(:)], r...

10 years ago | 1

| accepted

Answered
How to write a script to edit another script ?
|doc fprintf| Allows you to write text files.

10 years ago | 0

| accepted

Answered
Why intlinprog ignores lb when intcon is on some part of variables?
You need to have ub and lb be the same size as f, otherwise it only applies to however many elements are in it, in your case one...

10 years ago | 0

Answered
Is there a way of making a scatter plot where all the points are different markers and colours?
<http://blogs.mathworks.com/pick/2015/08/07/high-dimensional-visualization-with-bubbleplot/>

10 years ago | 0

Answered
How to define new methods on existing matlab classes?
You could create an @cell folder and in it create a plus method. Or you could use |celladd| like Sebastian suggested which is p...

10 years ago | 1

| accepted

Answered
How can I get Point Cloud Library Tool into 2013a version?
No, you'll need to upgrade.

10 years ago | 0

| accepted

Answered
Importing real time data from matlab workspace into simulink
You could use the Instrument Control Toolbox block set in Simulink: <</matlabcentral/answers/uploaded_files/35290/2015-08-06_...

10 years ago | 0

Answered
Assign cell array of values to cell array of names
You probably want to go with a |containers.Map| here: M = containers.Map({'A';'B';'C'},1:3) M('A') M('B')

10 years ago | 0

Answered
What does roots/ eig do exactly?
>>edit roots

10 years ago | 0

| accepted

Answered
Why am I getting "Undefined operator '*' for input arguments of type 'cell'." when I run this code?
You use a { which creates a cell array (container). You probably want to use a [ or ( instead. <http://www.mathworks.com/hel...

10 years ago | 0

| accepted

Answered
Debugging mapreduce functions in MATLAB
Do you have a: clear all At the top of your script? This clears break points. Replace it with just: clear

10 years ago | 0

Answered
How to exclude NaN values from evaluation on raster data
x_no_nans = x(~isnan(x))

10 years ago | 0

| accepted

Answered
how to find objects with handlevisibility off?
doc findall doc allchild

10 years ago | 1

| accepted

Answered
Sum of a signal in simulink
You could also use a unit delay: <</matlabcentral/answers/uploaded_files/35193/2015-08-04_17-16-23.png>>

10 years ago | 0

Answered
Why can't I access day, juliandate?
It's in the aerospace toolbox, are you able to pull it? which juliandate -all _C:\Program Files\MATLAB\R2015a\toolbox\a...

10 years ago | 1

Load more