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

11 years ago | 0

Question


Parfor Indexing -- Basic question
How do you index into a variable if you dont know the size of the loop? In the first example below parfor works fine. A...

11 years ago | 3 answers | 0

3

answers

Question


Which version of Perl is built into MATLAB? perl.m
Perl is included with the MATLAB® software on Microsoft® Windows® systems, and thus MATLAB users can run user-created MATLAB fun...

11 years ago | 2 answers | 1

2

answers

Question


Supress Command Line messages: system.m
I combine some text files into one big file: system('copy 1.txt+2.txt+3.txt MyBigFat.txt') This works fine, however it w...

11 years ago | 1 answer | 1

1

answer

Question


Which Latex Characters does 2013A support : Warning: Unable to interpret LaTeX string
I often get this: Warning: Unable to interpret LaTeX string For example, plot(rand(10,1)); AX=legend('$\text{A,B}$');...

11 years ago | 2 answers | 1

2

answers

Question


Enhancement Wishes For MATLAB
On suggesting these to the dev team through enhancement requests, the answers I recieved said "we do not support this feature at...

11 years ago | 1 answer | 0

1

answer

Question


Mutliple Copies of MATLAB on the same machine -- how to set the default
I had 2012A working fine on my machine. I just installed 2013A. I have code which automatically launches matlab from task ...

11 years ago | 4 answers | 2

4

answers

Question


FFT: Amplitude 3D Spectrum of a time series
I have a synchronously sampled time series. I wish to plot the 3D spectra of the time series (time (seconds), frequency (Hz), am...

11 years ago | 1 answer | 0

1

answer

Question


fdesign.bandpass - Matching filters in Frequency and Time Domains
I am trying to use fdesign.bandpass for the first time. I have a filter I have created manually. I wish to use fdesign to cre...

11 years ago | 0 answers | 0

0

answers

Question


How to call a function on "dbstop if error"
I have a large and complex function. I set "dbstop if error" at the start of the function. If the function fails for some reaso...

11 years ago | 2 answers | 0

2

answers

Question


Labelling a Double Axis Graph
We generate a double axis graph, as per the example <http://www.mathworks.co.uk/help/matlab/creating_plots/using-multiple-x-and-...

11 years ago | 1 answer | 0

1

answer

Question


Using find with a vector without having to use a for loop
I have code which does for t = 1: length(vector2) idx(t) = find(vector <=vector2(t), 1, 'last'); end Can I cal...

11 years ago | 1 answer | 0

1

answer

Question


Inserting view into subplot
I wish to insert a view image into a subplot, as below. I thought I could do it by passing axis object, but it fails. How ...

11 years ago | 1 answer | 0

1

answer

Question


ActiveX VT_ERROR, xlsread and Bloomberg API
I am running win7, office 2007, Bloomberg professional and Matlab 2011a. I have a value in an xlsx sheet equal to "=BDP('SPX ...

11 years ago | 0 answers | 0

0

answers

Answered
sendmail.m and Microsoft Exchange Server
I am writing in reference to your Service Request # 1-LM83B4 regarding 'How can I setup exchange server to send emails through t...

11 years ago | 0

| accepted

Question


sendmail.m and Microsoft Exchange Server
I am using win7 on 2011B with Microsft Office 2007. We use a third party email service and I have a email address: me@mycompa...

11 years ago | 2 answers | 0

2

answers

Question


Contiguous memory and relational operators
I have a 2D matrix of floats called data (approx size 1E5 x 2E2) and wish to test some conditions many times (>1e9 times) eg ...

12 years ago | 1 answer | 0

1

answer

Question


Advice on a few bottlenecks in my code
According to the profiler, I have four lines of code taking up 99% of my CPU time. if(statment) pCond = (bold_Phi(...

12 years ago | 2 answers | 0

2

answers

Question


Surf and XLIM YLIM -- setting the limits on a 3D graph doesnt seem to work?
I have the following code y=randn(50,50); x=randn(50,50); z=randn(50,50); surf(y,x,z); set(gca,'xlim',[0 2],'y...

12 years ago | 1 answer | 0

1

answer

Question


Allocating elements in a large matrix takes a VERY long time. Why?
MATLAB is doing something I have never seen before. Can anyone explain to me the following behaviour: I have some code: ...

12 years ago | 2 answers | 0

2

answers

Question


Why does Matlab not allow you to interupt a function mid execution?
This is more a question directed towards the mathworks staff. Why does MATLAB not let you interupt execution to see the varia...

12 years ago | 2 answers | 0

2

answers

Answered
Pre-calculating memory usage of repmat.m to avoid out of memory errors
Thank you for your suggestions. very helpful. I think the below script does want I need. function testLimit() %% 3GB ...

12 years ago | 0

| accepted

Question


Pre-calculating memory usage of repmat.m to avoid out of memory errors
A and B are equal length vectors of my data. The max value in A is 100 and the max value in B is 20,000 and n = 2,500. I wish to...

12 years ago | 2 answers | 0

2

answers

Question


What is the difference between delaunay.m and TriScatteredInterp.m
I have scattered data in 2D/3D. I wish to transform it onto a regular grid. What is the difference between delaunay.m and Tri...

12 years ago | 1 answer | 0

1

answer

Question


Warning: Unable to interpret TeX string
I often use greek/ latin variables in my titles/ axis, with no problem. For example; figure; title('\bf My Output, \Thet...

12 years ago | 2 answers | 1

2

answers

Question


Multiple Font Sizes in title: (Mixture of latex and English commands)
I have an image with a title. I wish to use a mixture of English and symbols. The English looks fine, however the symbols ...

12 years ago | 1 answer | 0

1

answer

Question


Interp2.m -- Unclear how to form grid
I am trying to plot some data using interp2.m and I am stuck. I have a K*2 data set, which I wish to plot in 3D, with the 3r...

12 years ago | 1 answer | 0

1

answer

Question


3D Spline from 3D Scatter
I currently have a plot that looks like: figure; x = randn(1,1000); y = randn(1,1000); z = x.*y; ...

12 years ago | 0 answers | 0

0

answers

Question


Counting number of unique elements in a matrix
I have a matrix, 2xT. It contains value PAIRS that are unique and some that are repeated. I would like to order the matrix by...

12 years ago | 0 answers | 0

0

answers

Question


How to vectorize a find
x = zeros(1000,1); x(76) = 1; x(100) = 1; x(200) = 1; I can do: first = find(x ==1, 1, 'first'); %the answer...

12 years ago | 3 answers | 0

3

answers

Load more