Community Profile

Adam Cutbill


Simon Fraser University

48 total contributions since 2010

Contact

Adam Cutbill's Badges

  • First Answer
  • 
  • Thankful Level 1
  • 

View details...

Contributions in
View by

Submitted


Topological Data Analysis Learning Code
This code takes a (small) set of data as an input and computes the Betti Numbers of that data.

3 years ago | 9 downloads |

Thumbnail

Answered
how to plot a 3-dimensional matrix
X=rand(3,9,3); %(3 coords, 9 points, 3 groups)=27 points. X=reshape(X,[],3); plot3(X(:,1),X(:,2),X(:,3),'.'); In gen...

3 years ago | 0

Answered
Creating variable name using sprintf and field of a structure
I would save the workspace of your old script then load it in your new script. Use the "fieldnames" function to get the names of...

3 years ago | 0

Answered
how do I draw the cluster boundaries in a scatter plot?
You can also use the convex hull operation if you're more concerned with capturing the boundary than making sure it is a ellipse...

3 years ago | 0

Question


Returning Cutoff Distance Using Cluster Function Given nClusters
Hello all, If you have used agglomerative clustering in MATLAB, you know there are two options for stopping the clustering. ...

3 years ago | 0 answers | 0

0

answers

Question


Clearing Issues With GUI
Hi, I'm having issues when running a function from a Guide GUI pushbutton. When I call this function, from a script it runs v...

5 years ago | 1 answer | 0

1

answer

Question


GUIDE Created In 2008a, error in 2007?
Hi, I create a GUI using GUIDE last summer using 2009 and 2008. I just noticed it won't work in 2007 which I didn't think to te...

6 years ago | 1 answer | 0

1

answer

Responded


Re: File Contents Won't Update Until File is Opened
Remembered the solution. I must use clear functions to update the contents. Thanks.

7 years ago | 1318 views

Posted


File Contents Won't Update Until File is Opened
Hey, I ran into this problem before, but cant remember if/how I solved it. Anyways, I'm overwriting a file (objfun.m) based on ...

7 years ago | 1318 views

Responded


Re: Combining Multiple Similar GUIs
Excellent, thanks for the help. I love the panel idea this should simplify things greatly, it's a rather complex GUI. Thanks a l...

7 years ago | 4172 views

Posted


Combining Multiple Similar GUIs
Hi, This question is a bit general and may be hard to answer, but I'll give a shot. I currently have two very similar GUIs that...

7 years ago | 4172 views

Posted


Read String To Structure
I think I solved it. If anyone needs this in the future here you go :). Thanks though. rawDiscreteValues=' [c] [c] [c] [1 2 3 4...

7 years ago | 2387 views

Posted


Read String To Structure
Hi, I have a text box where something like Is the input. These are intended to be structures specifying whether a variable i...

7 years ago | 2387 views

Responded


Re: UITable Callback Question
Thanks, I figured there is no high-level way to do it. What I'm doing now, is using the Cell Selection Callback to find the inde...

7 years ago | 22326 views

Responded


Re: UITable Callback Question
After more testing, it seems things are even worse than I thought. You must click on a cell in the table for the data to update....

7 years ago | 22326 views

Responded


Re: UITable Callback Question
Thanks us, that is basicly what I have now. What I have: function inputTable_Callback(source, eventdata) end This doesn't wor...

7 years ago | 22326 views

Posted


UITable Callback Question
Hi, I'm making a GUI that takes in input via a table. As the user, you would add data then click start to run the algorithm usi...

7 years ago | 22326 views

Responded


Re: Using 'Load' from within function.
I just figured it out right before your response Steven. This is exactly what I need to do, thanks a lot.

7 years ago | 4663 views

Posted


Using 'Load' from within function.
Hello, I'm having trouble using the 'load' function from within a function. This is to be within a GUI callback to load the han...

7 years ago | 4663 views

Posted


Loading into GUI
Hi, I'm saving the contents of my GUI to a .mat file via the save command as shown below: I also have a open option in the men...

7 years ago | 938 views

Responded


Re: Edit Text Box: Fixed Value
Thanks, any idea about changing the border color? Can this be done?

7 years ago | 7954 views

Posted


Edit Text Box: Fixed Value
Hi, I want the user to be able to copy and paste data from my GUI. Right now, I'm outputting data as a label. However, the user...

7 years ago | 7954 views

Responded


Re: Matlab Read And Write Problems
Thanks, I'm clearing the functions now and it seems to be working.

7 years ago | 1702 views

Responded


Re: Matlab Read And Write Problems
Sorry I missed your last post. The buffer sounds like it's likely the problem. I'll look into to how to flush it.

7 years ago | 1702 views

Responded


Re: Matlab Read And Write Problems
I'm using fclose(fid). And am I working on a local HD, I don't think that is the problem though. Even if I wait 30 seconds then ...

7 years ago | 1702 views

Posted


Matlab Read And Write Problems
Hi, I have a function that rewrites a file using fopen and fclose. The problem is nothing is actually replaced until I open tha...

7 years ago | 1702 views

Responded


Re: Saving as .mat vs .m
Ok, I'm thinking I should actually stick with creating a .m file. I'm trying to use fprintf to format it but I'm having some tro...

7 years ago | 2842 views

Responded


Re: Saving as .mat vs .m
One more question, if I do append, is there anyway to have -append not overwrite the current variable. I need the log to store t...

7 years ago | 2842 views

Posted


Saving as .mat vs .m
Hi, I would like to log some variables each iteration of my program to a file of some kind. I would also like the user to be ab...

7 years ago | 2842 views

Responded


Re: Do GUIDE Gui's have handles?
I figured it out. If anyone else is wondering: Use set(gcf, 'Name', 'younamehere'). From within the GUI openingfcn. Then to fi...

7 years ago | 869 views

Load more