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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

Submitted


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

13 years ago | 2 downloads |

2.5 / 5
Thumbnail

Question


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

13 years ago | 2 answers | 0

2

answers

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

Question


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

14 years ago | 5 answers | 2

5

answers

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

14 years ago | 1

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

14 years ago | 0

Question


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

14 years ago | 3 answers | 0

3

answers