Community Profile

tlawren


Active since 2011

Statistics

  • 3 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Nicer output from simulations
Where do you want to the output to go? The command window, a file, or somewhere else? Something like the following could ...

11 years ago | 0

Question


GUI callbacks now broken
I've been making some changes to a GUI and I broke a lot of my callbacks in the process. Specifically, the callbacks that are n...

11 years ago | 1 answer | 0

1

answer

Answered
how to define a 3D volume in a matrix
A somewhat sloppy, yet direct way could be ... % Set dimensions ds = 5; % mm xlim = ds*40/2; ylim = xlim; zlim ...

11 years ago | 0

| accepted

Answered
Outputs of a function
Is your function declaration correct? For example, the following two functions are declared to return one and two variables resp...

12 years ago | 1

| accepted

Answered
Filename IDL to Matlab Conversion
I'm not completely sure what you are trying to do, but if you are simply wanting to construct a string to use as a filename then...

12 years ago | 0

Answered
Inserting date/time in an array
Yes, you can insert dates and times into arrays. To get the format you want, you will likely need to use a strings and cell arr...

12 years ago | 0

Answered
Callback function is not executed anymore after using snapshot or step getting image frames
What does your stop callback function actually do? Does it set a stop flag variable? When I make data collection GUIs, I typic...

12 years ago | 0

| accepted

Answered
About running matlab in linux.
If you run some code on Windows and get an "Out of memory" error and then run the same code on Linux (on the same hardware) and ...

12 years ago | 0

| accepted

Answered
Blank histogram plot window
If you are not interested in outliers (data outside of [-20,20]), then set all outliers to NaN's. Something like the following ...

12 years ago | 0

| accepted

Question


What to do about "Exception in thread" java errors?
Recently, I was running some code when the following error was displayed to the command window: Exception in thread "FileDe...

12 years ago | 0 answers | 1

0

answers

Question


tcp/ip communcation in linux
I'm trying to get data from a device via TCP/IP in Linux and I'm having trouble. My device looks for a machine with specified I...

12 years ago | 1 answer | 0

1

answer

Answered
Reversve Look Up
I'm not sure you can do anymore with your code then what you are currently doing. But, I could be completely wrong. I can sugg...

12 years ago | 0

Answered
read txt file instead of dlmread
On average, how many columns are there? Or, better yet, what is the maximum number of columns you might expect in your data? I...

12 years ago | 0

Question


matlab serial read too slow?
I'm trying to read a serial device that is transferring data (120 bytes) at 10 Hz and I'm having trouble getting Matlab to keep ...

12 years ago | 2 answers | 0

2

answers

Answered
read/write multiple serial devices in matlab
How can the Parallel Computing Toolbox help? I am currently working on a project that involves reading two identical serial dev...

12 years ago | 0

Answered
GUI development advice
Something like the following may be what I'm looking for... <http://www.mathworks.com/matlabcentral/fileexchange/15580-using-...

12 years ago | 0

Question


GUI development advice
I'm currently developing a data acquisition, processing, and visiualization tool using GUIDE, but the things I want (need) to do...

12 years ago | 3 answers | 1

3

answers

Answered
calllib crashes Matlab... no error given
I discovered the cause of my problem. The dll I am using requires a specific license and I didn't have that. The documentation...

12 years ago | 0

| accepted

Question


initialize gui
I'm trying to initialize some parameters/data (defaults) in a GUI and I am using a initialization function in the GUI's opening ...

12 years ago | 2 answers | 0

2

answers

Question


calllib crashes Matlab... no error given
Greetings. I am trying to use some functions in a dll, but when I use calllib, Matlab crashes (and closes) without error. Any ...

12 years ago | 2 answers | 0

2

answers

Answered
font size changes in figures
@ the cyclist - I have tried hard coding font setting as you've posted, but still nothing changes. It seems as if there is a bu...

13 years ago | 1

| accepted

Answered
Can I speed this code up, looking for similarity between two 3-d matrices.
A test scenario would be running the code on the following... B = rand(10,200,150,100); A = rand(10,100,5,5,5); where I'...

13 years ago | 0

Answered
Can I speed this code up, looking for similarity between two 3-d matrices.
Yes, the A's are all the same size and they are being looped over. The logic behind my code goes as follows: get an A, get a B ...

13 years ago | 0

Answered
Can I speed this code up, looking for similarity between two 3-d matrices.
Thanks for all the replies!!! @Jan - Your suggestions are easy to implement and the changes are giving me about a 25% decre...

13 years ago | 0

Answered
Can I speed this code up, looking for similarity between two 3-d matrices.
Sorry! Jan, you're absolutely right. The loop is currently commented out in my code (to restrict my searches), and the kk calcu...

13 years ago | 0

Question


Can I speed this code up, looking for similarity between two 3-d matrices.
Is it possible to vectorize the following code in order to speed it up? This little routine gets called tens of thousands of ...

13 years ago | 7 answers | 0

7

answers

Question


font size changes in figures
I'm trying to change the sizes of various fonts in some figures, but the changes never seem to take place. Specifically, I'm wa...

13 years ago | 12 answers | 3

12

answers