Community Profile

photo

matt dash


Georgia Institute of Technology

Active since 2008

Professional Interests: interactive data visualization, computational geometry

Statistics

All
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • 3 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

Answered
How can a ButtonDownFcn in a patch or line handle detect which polygon or segment was clicked?
I dont believe that Matlab has already calculated which face/edge/marker you clicked (I don't think hittest works that way). Ass...

9 years ago | 0

Answered
Conversion of .BMP to .jpg images
Looks like you're missing a path separator between your folder name and file name. You should use the fullfile fucntion to combi...

9 years ago | 0

Question


gco broken in 2014b?
In older versions, this displays the last object clicked in the command window whenever a key is pressed in the figure: fig...

9 years ago | 0 answers | 0

0

answers

Answered
Controlling title position in 3D plots
You have a couple options. They are mostly based on the fact that the title's position is specified with respect to the axes pos...

9 years ago | 0

| accepted

Answered
Questions about using genpath()
Genpath makes a list of all subfolders below the specified folder. For what you're doing to work, the highest level folder ("Fun...

9 years ago | 0

Answered
exist() for functions only?
An option that is not exactly what you describe, but might work for you: isempty(which([functionname,'.m']))

9 years ago | 2

| accepted

Answered
How to find axes in gui?
Certain plotting functions, including cla, can reset the axes's tag. As Ben11 says, the better option is to store the handle som...

9 years ago | 0

Answered
Table scroll position - Update problem
Usually when something works in debug mode but not in normal operation, it means you need to add a "drawnow" to your code. In de...

9 years ago | 0

| accepted

Answered
Scope of variables passed to function handles?
As far as i know, yes this is safe and correct. Any non-input variables pass their values to the function *at the time the funct...

9 years ago | 1

| accepted

Answered
Run CUDA or PTX Code on GPU
I'm not sure, but this sounds like some kind of compilation error maybe, or an error in how you're calling the ptx file from mat...

9 years ago | 0

Answered
Superimposing two figures on the top of each other
Don't use "hold on" to plot both the image and the plot in the same axes. Instead, create two separate axes on top of each other...

9 years ago | 0

Question


Turn off line smoothing (anti-aliasing) in 2014b?
Is there a way to turn off line smoothing for selected objects (line objects in particular) in 2014b? I mean, it's great and all...

9 years ago | 1 answer | 1

1

answer

Answered
GUIDE scrollfunction deleting figure
Ok, I'm not sure exactly what's causing your problem, but it is quite likely the cla resetting something that shouldn't be reset...

9 years ago | 0

| accepted

Answered
How can I project a 3-D sphere onto a 2-D surface?
Ok... based on your code above, if your question is just how you can quickly update the data to reflect new information about wh...

9 years ago | 1

Answered
How to impose the size of the marker relative to the axis?
The plot markers really arent intended to function with that level of precision. The best way to accomplish what you want is to ...

9 years ago | 1

Answered
what's the difference between | and || in matlab??
Clarification: for short circuit "and" no tests are evaluated after the first "false". For short circuit "or" no tests are evalu...

9 years ago | 1

| accepted

Answered
Strange performance of MATLAB cuda on matrixes. Any idea?
Calculating timings of GPU functions is very tricky business. You should read all about gpu occupancy and block sizes and all th...

9 years ago | 0

Answered
importing a csv file into matlab automatically after it gets changed
The errror is because when you just type "importfcn" it is attempting to RUN importfcn. What you're trying to do is tell the add...

9 years ago | 1

| accepted

Answered
Change x-axis with uicontrol slider
All callbacks come with TWO builtin inputs. you forgot the 2nd "eventdata" input. You should have: function xlim(hObj,eventda...

9 years ago | 0

Answered
A simple problem in creating animation
Don't just say "it doesnt work", say WHAT isnt working. The code you posted should draw a rectangle that moves across the screen...

9 years ago | 0

Answered
Colorbar Minor Tickmarks with 2014b
I don't see it hidden anywhere. Incidentally there is a hidden "Axes" property, but it returns the axes the colorbar is linked t...

9 years ago | 0

| accepted

Answered
Display information about a point by hovering over it on a figure
It is unfortunately not a fairly easy problem. The two main problems are: 1) there is no "documented" way to do this, so you won...

9 years ago | 1

| accepted

Answered
i need mause coordinate
inputm is only for use with a "map axes" which is created using axesm. It sounds like you are not creating an actual map, just a...

9 years ago | 1

| accepted

Answered
Passing variables from script to matlab gui directly without using base workspace
You should simply remove any instances of evalin('base'...) from the scripts, and call the scripts from your gui, so that the sc...

9 years ago | 0

| accepted

Answered
Plotting with image together with scatter plot
You want to use the command "image", not "imshow". Imshow is meant to just display an image for quick viewing, it not meant to b...

9 years ago | 0

| accepted

Answered
Best Performance to: plot 300-400e6 lines and saving this figure handle
It's not entirely clear what you're trying to accomplish. Are you comparing 300 million waveforms, or 2 waveforms that each cont...

9 years ago | 0

Answered
Rendering issues in Matlab R2014b version when using patch
I suppose this qualifies as a bug, but it seems like a bad coding practice. If you know you want the patch to produce a series o...

9 years ago | 0

Answered
instructor gave us set(gca,'XTick',1:length(numVal)); how do i use this for setting color to inputs?
The [ ] operator in matlab concatenates things. For example [1 2 3] concatenates 3 numbers to make a vector. Similarly ['r','^-'...

9 years ago | 0

| accepted

Answered
unable to print out the all possible answers, Out of memory and Maximum variable size allowed by the program is exceeded.
The maximum allowed variable size is very large. There is no practical reason to print all combinations if it exceeds this size....

9 years ago | 0

| accepted

Answered
How do I quickly extracting subdomains of a website?
A quick google search suggests that this is impossible, with or without Matlab.

9 years ago | 0

Load more