A répondu

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

presque 10 ans il y a | 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...

presque 10 ans il y a | 3 réponses | 0

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

presque 10 ans il y a | 2 réponses | 1

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

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

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}$');...

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

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

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

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

environ 10 ans il y a | 4 réponses | 2

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

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

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

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

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

plus de 10 ans il y a | 2 réponses | 0

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

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

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

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

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

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

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

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

A répondu

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

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

plus de 10 ans il y a | 0

| A accepté

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

plus de 10 ans il y a | 2 réponses | 0

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

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

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

plus de 10 ans il y a | 2 réponses | 0

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

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

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

plus de 10 ans il y a | 2 réponses | 0

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

plus de 10 ans il y a | 2 réponses | 0

A répondu

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

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

plus de 10 ans il y a | 0

| A accepté

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

plus de 10 ans il y a | 2 réponses | 0

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

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

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

plus de 10 ans il y a | 2 réponses | 1

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

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

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

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

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

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

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

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

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

presque 11 ans il y a | 3 réponses | 0