photo

Art


Last seen: 6 mesi fa Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • First Answer
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Risposto
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 mesi fa | 0

Risposto
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...

quasi 5 anni fa | 0

Domanda


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, ...

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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. ...

oltre 8 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

quasi 9 anni fa | 3 risposte | 0

3

risposte

Domanda


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...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 9 anni fa | 0 risposte | 0

0

risposte

Risposto
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...

circa 9 anni fa | 0

Domanda


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 ...

circa 9 anni fa | 2 risposte | 0

2

risposte

Risposto
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 ...

oltre 9 anni fa | 0

Domanda


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...

oltre 9 anni fa | 2 risposte | 0

2

risposte

Risposto
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 ...

oltre 9 anni fa | 0

Domanda


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 ...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 9 anni fa | 0 risposte | 1

0

risposte

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

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

oltre 9 anni fa | 0

| accettato

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
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....

oltre 9 anni fa | 0

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

quasi 12 anni fa | 3 risposte | 0

3

risposte

Domanda


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 ...

oltre 12 anni fa | 2 risposte | 1

2

risposte

Domanda


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...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

oltre 13 anni fa | 3 risposte | 1

3

risposte

Domanda


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 ...

oltre 13 anni fa | 2 risposte | 0

2

risposte