Community Profile

photo

Shaun VanWeelden


Iowa State University

Active since 2012

Senior at Iowa State University studying Software Engineering. I love MATLAB and was a graphics engineering intern at the MathWorks. Right now, I am a MathWorks Student Ambassador at Iowa State. I have a lot of experience in image processing including working on several academic, government, and commercial applications. I am extremely creative, innovative, and enjoy working with MATLAB on a near daily basis.

Professional Interests: image processing, graphics, user interfaces

Statistics

All
  • First Review
  • 6 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 2
  • First Answer
  • Quiz Master
  • Promoter
  • Creator
  • Commenter
  • Solver

View badges

Content Feed

View by

Question


Using "urlread" with codegen on hardware devices
I am trying to program my raspberry pi hardware device to get the weather from an API but since Simulink uses codegen, I am appa...

9 years ago | 0 answers | 0

0

answers

Answered
Duplicated elements in a GUI
Have them all point to the same callback and use the hObject variable to differentiate them. hObject is the current object being...

9 years ago | 0

Question


export_fig can't do Monospace?
I have been using export_fig (#1 file on File Exchange) to generate a nice pdf report, but I have ran into something that seems ...

9 years ago | 1 answer | 0

1

answer

Answered
how to open many matlab instances from matlab?
!matlab -r disp('hi') & Where instead of disp('hi') you would put what function you would like. Keep in mind what directory...

9 years ago | 3

| accepted

Question


uitable row name width - why is this SOO wide?!
I was just wondering if anybody could tell me why the row name width of a uitable is so obnoxiously wide? It appears to literall...

9 years ago | 1 answer | 1

1

answer

Answered
Clickable transparent lines are impossible?
Thanks Jan for the answer! I actually got it right before you posted your idea, for me, I knew the plot lines would never inters...

9 years ago | 0

Question


Clickable transparent lines are impossible?
So I have 3 lines (technically patches) that have some transparency enabled. These lines were generated by the patchline FEX sub...

9 years ago | 2 answers | 0

2

answers

Answered
How to pad ones at end of the image?
There is literally a function called padarray.. It does a pretty nice job. http://www.mathworks.com/help/images/ref/padarray.h...

9 years ago | 1

| accepted

Answered
Why can't MATLAB resize an image nicely?
A robust way I figured out how to do it was resize the image to 10x (or whatever you want, benefits seem to cut off at 8-10 time...

9 years ago | 0

Question


Why can't MATLAB resize an image nicely?
So I have an image with some text on it that I want to display in MATLAB for whatever reason, sounds easy enough, but it turns o...

9 years ago | 4 answers | 0

4

answers

Question


What's the Default Light from Figure Toolbar > Insert Light
When I plot something and create a surface object, and then I go to figure > Insert > Light, it adds like the best lighting ever...

9 years ago | 1 answer | 0

1

answer

Answered
how do I declare a variable matrix of any size?
If you could give us your exact code you are trying now, that would be really helpful. zeros(your matrix size) should work fine ...

9 years ago | 0

Answered
saving png with the correct format (legend)
Also, check out any screenshot mfiles, most will figure out the position of the figure if you give it the figure handle. They wi...

9 years ago | 0

Answered
Is it possible to change a double with exonents so no exp or decimal?
OK, I would absolutely leave it as a string until it is finished parsing! The 1.9861e+13 still represents all values by the ...

9 years ago | 1

| accepted

Answered
How do I take the derivative of my plot?
Call polyfit to generate your polynomial (if you don't already have a polynomial) Call polyder to get derivative of your fit...

9 years ago | 2

Question


Switch Command Screen tabs at top through the command line
Let's say, I create a shortcut to change the directory and run some initialization files, is there any easy way to change the ta...

9 years ago | 0 answers | 0

0

answers

Question


Stretch quadrilateral ROI to pre-definded rectangle size
Lets say I have a quadrilateral ROI in my image roughly resembling a rectangle. I want to take this ROI and turn the correspondi...

9 years ago | 1 answer | 1

1

answer

Answered
convert gray image back to rgb
Alternatively rgb=img(:,:,[1 1 1]); does the same thing as Jan's, but is a little shorter maybe and easier to remember. img ...

9 years ago | 5

Answered
how to plot 3d using coordinates
line([x1 x2],[y1 y2],[z1 z2]) and you can put as many points as you want in each vector obviously

9 years ago | 1

Answered
Change variable name on each iteration in for loop MATLAB
If you changed the name, you would be making a new variable every time and I am not sure it is even possible to do this like you...

9 years ago | 0

| accepted

Answered
Extraction of images from video: why images are missed?
Also, I would do obj.FrameRate to see if it really is 2, this seems much more likely than a number not showing up in a vector.

9 years ago | 0

Answered
How to create a database of images and thus, how to compare a query image to those that are there in the database?
And a cell array can't hurt either. If you are looking to see how close an image matches up, try taking a look at normxcorr2, it...

9 years ago | 0

Question


rgb2ind equivalent for grayscale images - NOT gray2ind because its not the same, at all.
So I love that rgb2ind finds the best matching colors for the number of colors that you want and that you have the option of no ...

9 years ago | 2 answers | 0

2

answers

Answered
Is there a good way to avoid junking up code with lots of preallocation lines?
You can assign the same value to multiple fields if you want, which I think would help in this case.

9 years ago | 0

Answered
creating a table in matlab
Without loops, there is no realllly simple way, that being said, there are a few shortucts, the code below should get you starte...

10 years ago | 0

Answered
Nested For Loops - Using a value from first loop within the second loop
What you are looking for is actually pretty easy to do, the key is to realize that the i from the for loop is actually a variabl...

10 years ago | 0

Answered
need help to make program recognize users inputs and associate values of a matrix to that users input
Hey Stephen, I did not look at your apparent other question, but to validate the year is very straightforward. I would do som...

10 years ago | 0

Question


Has anybody else had the urge to use MATLAB as a verb?
For example: Man, I just can't stop MATLABing today, it's crazy! or I MATLABed for 7 hours today, my brain hurts now. ...

10 years ago | 1 answer | 0

1

answer

Answered
How are you supposed to write the code returned from "grabcode" to a file?!
The problem I was having is that all % signs, and well probably ! signs and other escape characters need to be changed for the f...

10 years ago | 0

Question


How are you supposed to write the code returned from "grabcode" to a file?!
I have lots of published files I am trying to go through and get the code for. I was so happy when I saw that the "grabcode" fun...

10 years ago | 2 answers | 1

2

answers

Load more