Question

What underlying technology does MATLAB use for its documentation system?

Matlab is well known for having excellent documentation, for example * http://uk.mathworks.com/help/matlab/ref/vertcat.html ...

2 years ago | 1 answer | 0

Question

Setting Edge Lengths equal to Weights in 2015B+ for graph.m

In 2015B graph.m is introduced <http://uk.mathworks.com/help/matlab/ref/graph.html graph.m>. s = [1 1 1 2 2 3 3 4 5 5 6 7];...

3 years ago | 1 answer | 0

Question

Setting EdgeColor in 2015B+ for graph.m

In 2015B graph.m is introduced <http://uk.mathworks.com/help/matlab/ref/graph.html graph.m>. A = ones(4) - diag([1 1 1 1]);...

3 years ago | 1 answer | 0

Question

Error using fitdist. Distribution name 'multinomial' is unrecognized.

I am using 2015b. I read http://uk.mathworks.com/help/stats/fitdist.html and see that it supports "multinomial" I run pd...

3 years ago | 1 answer | 0

Question

Generating a 3D plot

I have two 1D functions * Z1 =f(y) * Z2 =g(x) Where Z1, Z2, x and y are Nx1 vectors. I wish to combine these and pl...

3 years ago | 1 answer | 0

Question

PCT: Lock and Simultaneous Access

When using PCT, how can you enforce synchronous access to resources? Eg lock in C#. I have some code, parameters = [1 2 ...

4 years ago | 0 answers | 0

Question

Decompressing *.7Z Files with MATLAB

I have a 7z file. I wish to decompress it using Matlab. How can I do this? The inbuilt matlab functions dont support it. I ha...

4 years ago | 2 answers | 0

Answered

Decompressing *.7Z Files with MATLAB

solved: [status,result] = system(['"C:\Program Files\7za920\7za.exe" -y x ' '"' filename{f} '"' ' -o' '"' outputDir '"']...

Decompressing *.7Z Files with MATLAB

solved: [status,result] = system(['"C:\Program Files\7za920\7za.exe" -y x ' '"' filename{f} '"' ' -o' '"' outputDir '"']...

4 years ago | 0

| accepted

Question

Unable to read MAT-file E:\my_file.mat: not a binary MAT-file.

On one machine (2014A, win server 2012 R2) I run save('-v7.3','E:\myFile.mat'); on a second machine (2014A, win7 pro) I ...

4 years ago | 2 answers | 0

Question

Calling Powershell from MATLAB: AWS Example

Running 2014A and Windows Server 2012 R2. I wish to call Powershell from inside matlab. Below is my attempt, %% Get The req...

4 years ago | 1 answer | 0

Question

Parallel Computing Toolbox: Underperformance AND Cannot cancel or destroy a job that was not created by this Local cluster.

I am running Win Server 2012 R2 with 2014A with PCT. I have two questions. Question 1: I keep getting the below warning, ...

4 years ago | 1 answer | 1

Question

Processing a HUGE number of timestamps

I have a cell array whose elements are time stamps in the format "Mon Apr 01 20:00:00 BST 2013". I have a very large number of t...

4 years ago | 3 answers | 0

Question

Monitoring the Speed of write.m/save.m on a network

Using win7/2014a. I am carrying out some tests with a mapped network drive. Saving/loading data from the disk is proving a ma...

4 years ago | 2 answers | 0

Answered

Parallel computing corruption problem (Windows)

Spoke to Matlab tech support about this. The answer is as follows. Type which -all assert In my case, the issue was cau...

Parallel computing corruption problem (Windows)

Spoke to Matlab tech support about this. The answer is as follows. Type which -all assert In my case, the issue was cau...

4 years ago | 1

Question

Matlab Figure and TextBox

I have an image and I do not wish to use legend. Instead I wish to make my own legend. I wish to have a text box in the image...

4 years ago | 2 answers | 0

Question

Label Rotation in MATLAB 2014

Has MATLAB 2014a introduced a built in way of rotating axis labels? see <http://www.mathworks.co.uk/help/matlab/creating_plots/a...

4 years ago | 1 answer | 0

Question

Binary, ASCII and Compression Algorithms

I have a large number (> 1E6) of ASCII files (myFile.txt) which contain time series data, all in the same format: timestamp, fie...

4 years ago | 1 answer | 0

Question

How to colour a 3D image with a continuous spectrum of colours

I have a 3D image. I would like to shade it in a continuous colour. I.e. where the colour of the image is conditional on its loc...

4 years ago | 1 answer | 0

Question

ASCII STL to image

I have been trying to use <http://www.mathworks.co.uk/matlabcentral/fileexchange/30923-fast-stl-import-function import_stl_fast>...

4 years ago | 1 answer | 1

Question

Hyperthreading & Number of Cores. Parallel computing toolbox

I am using: MATLAB Version: 8.3.0.532 (R2014a) MATLAB License Number: Operating System: Microsoft Windows 8.1 Versio...

5 years ago | 2 answers | 3

Question

Maximum Subarray Problem -- Classic Algorithms in Matlab

Trying to implement some forms of this classic algorithm <http://www.cse.ust.hk/faculty/golin/COMP271Sp03/Notes/L02.pdf> <...

5 years ago | 0 answers | 0

Question

Plotting in 3D: Probability Density Plots Over Time

There are many ways of plotting in 3D in matlab. I have got some reasonable results using the following method. This post is to ...

5 years ago | 0 answers | 1

Question

PCA.m with data containing NaN (ncnancov.m bug ?)

I can run the following, data = randn(2.7E6,79); [~,score,~,~,explained, ~] = pca(data); I also have a real data ...

5 years ago | 0 answers | 1

Question

sub2ind.m -- trying to use with a 2D matrix

I have a matrix data = rand(100,100); I also have a index into that matrix IDY = randperm(100); I wish to reord...

5 years ago | 2 answers | 0

Question

Basic Vectorization Question (speed required)

I have a 2D matrix of data. I have an index to reduce that 2D matrix to a 1D matrix. How can I do it without using a for loo...

5 years ago | 2 answers | 0

Question

Using all cores with parfor

I have 2013A on a win7 64 bit quod core machine. I do not have the parallel computing toolbox. I use a parfor loop to carry o...

5 years ago | 1 answer | 1

Question

Set legend color in stacked bar plot

I wish to use a stacked bar graph and specify my own colors. Have do I make the colors in the legend match the bar? thanks ...

5 years ago | 1 answer | 0

Question

XTICKLABEL and LATEX -- still not supported?

I know this was not supported in 2004 -- is it still not? any work around? x = 0: 1E-3: 4*pi; y1= cos(x); y2 = -si...

5 years ago | 2 answers | 1

Question

Changing the Default Copy of Perl Installed with MATLAB

In this post <http://www.mathworks.co.uk/matlabcentral/answers/89541-which-version-of-perl-is-built-into-matlab-perl-m HERE> I a...

5 years ago | 1 answer | 0

Answered

Parfor Indexing -- Basic question

ok. perhaps the original example wasnt the best! In my specific case B is a struct. with a very large number of fields. Hence...

Parfor Indexing -- Basic question

ok. perhaps the original example wasnt the best! In my specific case B is a struct. with a very large number of fields. Hence...

5 years ago | 0