Statistiques
68 Questions
0 Réponses
RANG
5 820
of 295 448
RÉPUTATION
8
CONTRIBUTIONS
68 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
77.94%
VOTES REÇUS
7
RANG
of 20 227
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 872
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Passing a string to a function
If I have a function: function zp=F(x,z) zp=zeros(2,1); zp(1)=z(2); zp(2)=a*sqrt(1+z(2)^2)+kx; And I utilize it by: ...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
How can variables be passed to a function
If I define a function in F.m file with the following: function zp=F(x,z) zp=zeros(2,1); zp(1)=z(2); zp(2)=a*sqrt(1+z(2)...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Import additional code/functionality into running executable
If I have an executable running with some standard functionality, and I want to implement some additional functionality on a cas...
environ 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Finding index and count of values in an interval
I have 2 vectors that I am comparing. I am using 1 as the "bin edges" and the other one is the data I want a count of. Histc see...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Function faster than find?
I use the find command compare 2 vectors of time, one with a much higher rate than the other. Say vector1=[1 2 3 4 5], vector2 m...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Compile executable with another function
I have a GUI executable that has a button which, when pressed, calls a function which uses textscan to import a data file (.csv)...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Command to save figures as image
I was to add a button to my GUI that when clicked, will search for any open figures, and save them as a *.emf file. I have a lot...
plus de 11 ans il y a | 1 réponse | 0
0
réponseQuestion
Increase precision of plot axes
I have some large time values, seconds to minutes of time expressed in nanoseconds-so at least 9 digits. When I plot some value ...
plus de 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Comparing 2 vectors: finding closest point
If I have 2 vectors, say: x=[1 2 3 4 5]; y=[0 1.1 1.5 1.6 2.4 4.1 4.7 5 5.7]; I want to find the index of the closest m...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Bar graph grouped bar property
I'm trying to plot several data series in a bar graph, and group the bars. However, when I use the below code, the bars are over...
plus de 11 ans il y a | 1 réponse | 0
0
réponseQuestion
sprintf text justification in uitable
I set the text in each cell of a uitable with sprintf so I can specify the number format of the data I am displaying. Is there a...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Best way to find a count in a range of numbers
If I have a desired range of numbers, what is the best way to search the occurances of numbers that fall into this range? Curren...
plus de 11 ans il y a | 3 réponses | 0
3
réponsesQuestion
STRCMP in a loop
I have a variable number of strings stored in an array. I want to compare each of those strings with a cell, and if the cell doe...
plus de 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Set GUI button colors in GUIDE
How can I modify the property in the property inspector in GUIDE (so I don't have to go through all my code) to modify the toggl...
plus de 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Set printer properties for plot
I have a GUI that generates plot figures. Is there any way to specify the default printer properties in code? Specifically I wan...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Setting plot legend properties
Is it possible to specify the size of the colored dot in the legend? I have my data points plotted as dots, and when zoomed out,...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Creating a waterfall plot
I have data in a 2d plot, but I want to display it as a "waterfall" with the first value x(0),y(0) at the top, and x(i),y(i) at ...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Setting histogram bar width
I use the following code to create a histogram, and set the properties, but the bar widths do not stay consistent. Any ideas why...
presque 12 ans il y a | 1 réponse | 0
0
réponseQuestion
Delta between two data cursor points in plot
Is there a way to display the x or y axis delta between 2 data cursor points in a plot?
presque 12 ans il y a | 2 réponses | 1
2
réponsesQuestion
Adjusting For loop size
If I am doing something like: for i=1:length(array) if length(array(i)) < 10 array(i)=[]; i=i-1; ...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
"Speed up" functions in plot figure
What is the "speed" of functions in a standalone Matlab executable created plot figure dependent on (the program is NOT running ...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Pick random colors from a color map
I have up to 30 variables that may be plotted in 1 figure. There are 2 sets of data, each with 15 variables. I want to have 2...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Reset GUI executable to initial state
Is it possible to reset a GUI to the initial state it is in when it's first loaded without closing it and reopening? Upon hittin...
presque 12 ans il y a | 4 réponses | 1
4
réponsesQuestion
Compile executable for 64-bit system
I have a GUI executable I created with GUIDE and compiled with deploytool. It was created on Windows 7 32-bit, with Matlab R2011...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Closing specific figure handles
I asked a similar question before, but haven't been able to get the behavior I am looking for. Example. I can have up to 4 pl...
presque 12 ans il y a | 2 réponses | 0
2
réponsesQuestion
GUI handle behavior/memory storage
I have an issue I can't track down the cause of. I have a GUI listbox, that can display 16 filenames. Directory button 1 display...
presque 12 ans il y a | 1 réponse | 0
0
réponseQuestion
Clearing part of an array
I'm having a tough time figuring out the syntax to access specific columns in an array (and maybe even using the wrong terms to ...
presque 12 ans il y a | 2 réponses | 0
2
réponsesQuestion
Close command and Invalid figure handle
I have a GUI in which I have a button create a plot: p(1)=plot(...). I have a reset button that, upon being pressed, executes...
presque 12 ans il y a | 4 réponses | 0
4
réponsesQuestion
Managing GUI memory usage
When using GUIDE to develop a GUI, in the simulation mode, I run through the functionality loading files, plotting, resetting (w...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Pre-allocating Arrays and Optimizing memory
I am working with some large data sets. I could have up to 16 (1000000 x 8) csv files. I import with textscan, and immediatel...
presque 12 ans il y a | 3 réponses | 0