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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

oltre 13 anni fa | 0

Inviato


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

oltre 13 anni fa | 2 download |

2.5 / 5
Thumbnail

Domanda


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

oltre 13 anni fa | 2 risposte | 0

2

risposte

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

oltre 14 anni fa | 0

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

oltre 14 anni fa | 0

Domanda


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

oltre 14 anni fa | 5 risposte | 2

5

risposte

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

oltre 14 anni fa | 1

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

oltre 14 anni fa | 0

Domanda


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

oltre 14 anni fa | 3 risposte | 0

3

risposte