photo

Art


Last seen: 6 månader ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • First Answer
  • Thankful Level 3

View badges

Feeds

View by

Answered
How to remove trailing zeros while display any floating point number ?
"strip" can do this for any amound of decimal places... just change to a str first: X = 1.31230032000000; XStr = sprintf('%1.1...

6 månader ago | 0

Answered
How can uicontrol be used to make an editable dropdown (eg combobox) control?
Just ran across this link while searching the same thing... there appears to be an editable property. I havent tried it yet but...

nästan 5 år ago | 0

Question


Creating a hex array with 4 digit blocks from an array of integers
I am using R2013 and need to convert a large decimal array into hex stings. The decimal numbers can be any positive integer, ...

nästan 8 år ago | 2 answers | 0

2

answers

Question


Any simple way to change a struct with fields of length "n" to a struct of length"n"?
I have 2 structs each containing a field called 'time', along with other differently named fields of length "n" i.e. ...

mer än 8 år ago | 3 answers | 0

3

answers

Question


Another eval question: evaluating array byte order
My profuse apologies. I am trying to rid some code of all evals, but cannot find a more graceful approach for this one. (It's p...

nästan 9 år ago | 3 answers | 0

3

answers

Question


How do I assign an index value to a function output?
Using R2014b. I have a function called within a for loop which returns lots of outputs. I want to assign an index value for eac...

nästan 9 år ago | 1 answer | 0

1

answer

Question


Convert 8 Byte timestamp to a human readable time!
I created a Matlab script that reads a file and parses out data. One data field is 8 bytes and represents a timestamp in second...

ungefär 9 år ago | 1 answer | 0

1

answer

Question


calling a gui to return argout correctly
I have a function that needs to open a gui, allow the user to select from a dropdown set of files and then hit the "OK" or "CANC...

ungefär 9 år ago | 0 answers | 0

0

answers

Answered
Can I use ButtonDownFcn on a figure axes not associated with a gui?
So apparently my code IS working, but doesn't work when I have the Zoom or Pan buttons enabled. Is there a way to make ButtonDo...

ungefär 9 år ago | 0

Question


Can I use ButtonDownFcn on a figure axes not associated with a gui?
Using 2014b, I have a script that creates a figure with three axes, and plots some lines and a legend on each. When the user ...

ungefär 9 år ago | 2 answers | 0

2

answers

Answered
how to plot an arrow given yaw/pitch/roll
Thanks everyone for the suggestions! And thanks Mike Garrity for the clear, concise and exampled description, always a plus for ...

mer än 9 år ago | 0

Question


how to plot an arrow given yaw/pitch/roll
What's the easiest way to plot a simple arrow of arbitrary dimensions given a starting position (x,y,z) and euler angles (roll,p...

mer än 9 år ago | 2 answers | 0

2

answers

Answered
Figure double click problem
OK, found a solution: In the function that sizes the variable when selected from the figure's uicontrol, I just include ...

mer än 9 år ago | 0

Question


Figure double click problem
Using R2014b, I created a gui that allows users to select any number of variables to plot in a single figure (1 subplot). I set ...

mer än 9 år ago | 1 answer | 0

1

answer

Question


Can I manipulate a figure while dialog box is open?
I created a listdlg box within a while loop which allows the user to select one or more variables to plot. Once the variables a...

mer än 9 år ago | 0 answers | 1

0

answers

Question


How can I "reshape" a data set?
This is probably simple: I have a data file of decimals, each one equal to 1 byte: 0 0 3 127 Each variable I have is...

mer än 9 år ago | 1 answer | 0

1

answer

Answered
Changing FontSizeMin when using hgexport
This works. Credit to Matlabber- You can assign a variable containing export settings using 'factorystyle', view them all by ...

mer än 9 år ago | 0

| accepted

Question


Changing FontSizeMin when using hgexport
Using R2014b, I have a figure that includes text, and I am using hgexport to save this figure to the clipboard using the followi...

mer än 9 år ago | 1 answer | 0

1

answer

Answered
Saving figure to clipboard no longer works correctly in R2014b
I found a work-around: If I use hgexport(1, '-clipboard') it works perfectly, although much slower than I would like....

mer än 9 år ago | 0

Question


Saving figure to clipboard no longer works correctly in R2014b
I recently upgraded to R2014b from R2012b on Windows 7. I noticed that a tool I use to save figures to a Powerpoint slide now...

mer än 9 år ago | 1 answer | 0

1

answer

Question


struct problem when dealing with different field types
I created a struct containing variables of length 'n' (numeric) in separate fields: mystruct = struct('field1',variable_1,'fiel...

mer än 9 år ago | 1 answer | 0

1

answer

Question


using templates in saveppt2
Is anyone familiar with saveppt2? This program saves Matlab figures to powerpoint slides, and I have used it successfully t...

mer än 9 år ago | 0 answers | 0

0

answers

Question


Using R2009a, after I type "close all", the Matlab window will not be writable until I right-click on it.
Was wondering if there is some setting I need to change to remedy this. It is not a huge problem, but gets annoying if I am run...

ungefär 11 år ago | 1 answer | 0

1

answer

Question


adding appropriate legend data
Using Matlab 2009a I created a plot that contains data from multiple sources. The sources can be input as either individual dir...

mer än 11 år ago | 1 answer | 0

1

answer

Question


GUI differences among different users
I created a gui using GUIDE from MATLAB 2009a and got it looking how I want it. Multiple people have tried to use it as well, a...

nästan 12 år ago | 3 answers | 0

3

answers

Question


determining number of axes on a figure
how can I determine the number of axes that a figure has? using get(figure,'Children') works but also gives data on non-axis ...

mer än 12 år ago | 2 answers | 1

2

answers

Question


using linkdata on existing figures
I have a gui that displays a movie frame by frame. There are also plots of various data pertaining to the movie in separate f...

mer än 12 år ago | 2 answers | 0

2

answers

Question


Can a plot be made to label y-axis in Hex values?
I am plotting decimal equivalents of 8 and/or 16 bit hex values. Is it possible to label the y-axis in it's hex value? (Other ...

mer än 12 år ago | 1 answer | 0

1

answer

Question


Can Matlab determine cursor position continuously?
I have an image plot that was created with "imagesc", and I can use ginput to select (x,y) points on the image, then I can read ...

mer än 13 år ago | 3 answers | 1

3

answers

Question


Linux Matlab - is it possible to determine whether a directory is a link?
I wrote a simple Matlab script using "dir" to recursively follow directories in a linux environment. The only thing is I don't ...

mer än 13 år ago | 2 answers | 0

2

answers