Respondida
Pre-calculating memory usage of repmat.m to avoid out of memory errors
say, Lg1 is length(gridx1) and Lg2 is length(gridx2). Then your variables need this much memory x1: Lg1*Lg2*n*8 bytes (ass...

más de 13 años hace | 0

Respondida
how to find euclidean distance
your matrix b is 3-D. try using dist function on 2D slices of matrix b.

más de 13 años hace | 0

Respondida
plot simulink in matlab
Well, may be you can do it. Say, tout is the vector of all time values and yout is vector of all signal values. newtimevec ...

más de 13 años hace | 0

Respondida
Unreliable Serial data logging
Strange, not answers yet. Where are the stalwars?

casi 14 años hace | 0

Enviada


Scan for available serial com ports
A handy utility function thats missing in base Matlab to scan for available Serial ports.

casi 14 años hace | 2 descargas |

2.5 / 5
Thumbnail

Pregunta


Unreliable Serial data logging
ISSUE: Matlab is able to communicate with a device via serial port fine, but when I log data continuously it fails after a while...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Respondida
Opening files in editor causes a "Load of Java classes failed" in Matlab R2011a under OSX 10.6.8
I'ven't downloaded any thirdparty toolbox. This occured out of nowhere and restarting matlab or osx didn't help either. Had to r...

más de 14 años hace | 0

Respondida
simscape and simpower sysystem
It isn't clear from the question what exactly you mean, but in case you want to use blocks from these two domains in the same mo...

más de 14 años hace | 0

| aceptada

Respondida
Does Parfor make a difference without Parallel Computing toolbox
Thanks for taking time to answer guys. More experiments corroborated what you said and like Friedrich commented, parfor makes th...

casi 15 años hace | 0

Respondida
Reading a string and retriving data from the string.
Another Way: n = textscan(str,'%s', 'delimiter', '_='); n = str2double(n{1}(2:2:end))

casi 15 años hace | 0

Pregunta


Does Parfor make a difference without Parallel Computing toolbox
Hi, I've been running some experiment to see how parfor behaves. I dont have parallel computing toolbox (PCT) so I cant create...

casi 15 años hace | 5 respuestas | 2

5

respuestas

Respondida
Do you suffer from keyboard latency in this forum?
I dont post too often, but I tried this out of curiosity. No issues. On Safari, running OSX.

casi 15 años hace | 1

Respondida
Is vectorized code always faster than loops? Any exceptions?
See my comment accepted answer by Jan Simon. The code I pasted above ran on 4 machines - 3 pcs (R2010a & R2007b) and a mac(R20...

casi 15 años hace | 0

Pregunta


Is vectorized code always faster than loops? Any exceptions?
[EDIT: 20110727 09:35 CDT - reformat - WDR] I have a critical chunk of a code that has six nested for-loops. I reduced the inne...

casi 15 años hace | 3 respuestas | 0

3

respuestas