Community Profile

Rodney Thomson


138 total contributions since 2008

http://iheartmatlab.blogspot.com

Contact

Contributions in
View by

Answered
out of memory error while reading binary file
Change your format specifier to 'uint8=>uint8' This says: "my data is uint8 AND I want to store it in a uint8 array" Othe...

3 years ago | 0

Responded


Re: Windows Stand Alone application run time error
Make sure that 'graphCorrelation.m' is either: - in a directory contained within your path; or - in the current directory when y...

3 years ago | 1692 views

Responded


Re: Delete every second element
The approach from Nasser will reduce the sample rate, but may introduce aliasing from any higher frequency components. IE if you...

5 years ago | 9893 views

Responded


Re: Urgent:matlab crashes
Your compilation appears to be failing on the first call to a LAPACK routine. When you were compiling with MEX were you specif...

6 years ago | 2059 views

Responded


Re: how to run multiple instances of stand alone executable
I have run multiple instances of the sample compiled binary on both windows and linux with no problems (granted with possibly an...

6 years ago | 3687 views

Responded


Re: Maximum variable size allowed by the program is exceeded - for very small array
It should go without saying, but I will say it anyway: blah = zeros(20000,1); % for a column vector or blah = zeros(1, 20000); ...

6 years ago | 41619 views

Responded


Re: Maximum variable size allowed by the program is exceeded - for very small array
I can't imagine that either. But I can certainly imagine that you do not have 3.2 GB of memory available. zeros(n) returns a ze...

6 years ago | 41619 views

Responded


Re: Do I need a separate version of Matlab for linux/
Every version of MATLAB that we've received here (on annual licence maintenance subscription) has always come with installers fo...

6 years ago | 2462 views

Responded


Re: Saving figures is slow
If you don't need to draw the figures to screen, then you can make them non-visible: f = figure; set(f, 'Visible', 'false'); H...

6 years ago | 4219 views

Responded


Re: VERY BAD MATHLAB BUG FOUND!!!!! HEEEEELP!!!!!
Dear respected sir can send me please the codes to CDMA Antennae Modelling in the mathlab. Rod

6 years ago | 3517 views

Submitted


TCP Output Socket
MATLAB TCP Output Socket using a Java helper class for threaded client connection management

6 years ago | 4 downloads |

Thumbnail

Responded


Re: Scatter Plot?
Quite simple with the use of callback events! 1) Create the callback code to load the image on the click. Note the callback met...

6 years ago | 2780 views

Responded


Re: how can you get data from GUI to workspace?
Disclaimer - I've not written UIs since R14 so there may be even better ways of doing this these days Looking at this thread th...

6 years ago | 11191 views

Responded


Re: creating array in GUIDE
You can use str2num and enter the array into the editbox as you would the command line: ans =

7 years ago | 975 views

Responded


Re: Most efficient way to continously update axes data in GUI
Oh, and run the MATLAB Profiler, see if you can narrow down exactly where the time is being spent.

7 years ago | 3182 views

Responded


Re: Most efficient way to continously update axes data in GUI
Try playing around with the line's 'EraseMode' property. By default it redraws the entire frame. Setting it to perhaps 'xor' mi...

7 years ago | 3182 views

Submitted


TCP/IP Socket Communications in MATLAB using Java Classes
A simple example TCP/IP server and client using a helper Java class

7 years ago | 25 downloads |

Thumbnail

Responded


Re: multiple instances of MATLAB
You still can. When i clock on my MATLAB 2009a shortcut it opens a new instance each time. However, one thing that WAS changed ...

7 years ago | 21256 views

Responded


Re: how move to swap between different m.files in the document bar?
In the Editor you can use Ctrl+PageUp and Ctrl+PageDown to cycle through your open documents :) Cheers Rod -- http://iheartma...

7 years ago | 990 views

Responded


Re: browse a file on GUIDE
make a call to 'uigetfile'

7 years ago | 4348 views

Responded


Re: MATLAB becomes BUSY as I run the code
Be careful that you are not doing matrix arithmatic where you infact want element-wise arithmatic as this will be MUCH slower, c...

7 years ago | 9930 views

Responded


Re: wavplay -- overdubbed audio
A few ways I could think of: 1) If both sound files are stereo, then you could use 'audioplayer' to play the signals as it is n...

7 years ago | 4379 views

Responded


Re: How to create standalone without inastalling MCRInstallation
1) Not possible 2) You CAN however use installer softare such as NSIS to create an installer that will isntall the MATLAB Compo...

7 years ago | 4774 views

Responded


Re: Use WinSock ActiveX Control in Matlab
No idea about the Winsock ActiveX control. But if you are only after very basic comms then I have an example of calling Java fro...

7 years ago | 3600 views

Responded


Re: .m to .bin conversion
Taken exactly as written, this question CAN be answered! function convertMtoBIN(filename) end Aside from that it makes no sens...

7 years ago | 1335 views

Responded


Re: EXE is Slower than M-File
Everytime you start a MATLAB compiled executable it has to initialise the MATLAB Runtime Environment. Which in effect launching ...

7 years ago | 5101 views

Responded


Re: How to stop graphics refresh
I normally have the opposite problem where graphics are NOT redrawn when I wish them to. That is where a drawnow can be useful. ...

8 years ago | 16081 views

Responded


Re: Universal time
As for strange discrepencies, you might be coming across the precision limitations of a double. Take for example the near-nowis...

8 years ago | 2637 views

Responded


Re: Universal time
Warning, i'm writing this without access to MATLAB. But you should get the idea. function serial_date = unix2serialdate(unix_ti...

8 years ago | 2637 views

Responded


Re: Tabs in GUIDE
As far as I am aware (I've not done significant GUIDE work since R14 SP3) there is not a built in method for achieving Tabs in M...

8 years ago | 1274 views

Load more