Community Profile

# Matlab2010

Actif depuis 2012

#### Content Feed

Afficher par

Question

Speeding up code: pre-allocation, vectorization, parfor, spmd....
I have written a very tricky and large bit of code. Its processing a data set of 5 million values. In outline the code goes like...

plus de 3 ans il y a | 5 réponses | 0

### 5

réponses

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

plus de 6 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 6 ans il y a | 1 réponse | 0

### 1

réponse

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]);...

plus de 6 ans il y a | 1 réponse | 0

### 1

réponse

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

presque 7 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 7 ans il y a | 1 réponse | 0

### 1

réponse

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

environ 8 ans il y a | 1 réponse | 0

### 0

réponse

A répondu
Decompressing *.7Z Files with MATLAB
solved: [status,result] = system(['"C:\Program Files\7za920\7za.exe" -y x ' '"' filename{f} '"' ' -o' '"' outputDir '"']...

environ 8 ans il y a | 0

| A accepté

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

environ 8 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 8 ans il y a | 1 réponse | 0

### 1

réponse

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

environ 8 ans il y a | 1 réponse | 1

### 1

réponse

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

environ 8 ans il y a | 3 réponses | 0

### 3

réponses

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

environ 8 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 8 ans il y a | 2 réponses | 0

### 2

réponses

A répondu
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...

environ 8 ans il y a | 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...

environ 8 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 8 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 8 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 8 ans il y a | 1 réponse | 1

### 1

réponse

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

plus de 8 ans il y a | 2 réponses | 4

### 2

réponses

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

plus de 8 ans il y a | 1 réponse | 0

### 0

réponse

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

presque 9 ans il y a | 1 réponse | 1

### 0

réponse

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

environ 9 ans il y a | 1 réponse | 1

### 0

réponse

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

environ 9 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 9 ans il y a | 2 réponses | 0

### 2

réponses

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

environ 9 ans il y a | 1 réponse | 1

### 1

réponse

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

environ 9 ans il y a | 1 réponse | 0

### 1

réponse

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

environ 9 ans il y a | 2 réponses | 1

### 2

réponses

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

environ 9 ans il y a | 1 réponse | 0

réponse