Réponse apportée
GUI - text instead of numbers
function testpj() hf=figure; h1 = uicontrol(hf,'Style','edit',... 'string','',... 'Position',[30 20 150 30]'...

plus de 14 ans il y a | 0

Réponse apportée
How can I turn s/s to 1?
prompt={'Proportional Coefficient Input','Integral Coefficient Input','Derivative Coefficient Input'}; defans={'1','0','0'}; an...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
choosing random vectors for 3 VAriables
I don't understand 100% of your question but I will try x1=randperm(10e6); %generates a permutation of values from 1 to 10...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
output of code words
num2str([1 0 1 .0116]') %this just shows the values in string format Remove the ' if you want the...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
how to limit one axis in plot function
ylim([-1.5 1.5]) or set(gca,'ylim',[-1.5 1.5])

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
output representation
w= [0 0 1 0 1 1 1 0 0 0 1 1] y= [2.04 0.19 5.26 4.80] z=[w' [y nan(1,numel(w)-numel(y))]'] %if w and y got the same num...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
What is wrong with my exit button?
I tried your code and it works without any of the problems you describe, they might be caused by other code. Just two small sug...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
string of the button edit
'edit' – Editable text fields enable you to enter or modify text values. Use editable text when you want free text as input. _*T...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Approximately equal or egual to +- error
Adapt this code to your purpose: v=[1.1 2.2 3.3]' %vector 1 u=[1.2 2.6 6]' %vector 2 e=0.1 %error ...

plus de 14 ans il y a | 2

Réponse apportée
How can I reach the code of the default print tool?
doc printdlg

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
FIR Filters with GUI
<http://www.mathworks.com/matlabcentral/fileexchange/24654-real-time-filters-gui Real time filters: GUI> or other similiar appli...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
erase and edit freehand in gui
Use the delete key from your keyboard after clicking on the shape line, for example: figure, imshow('pout.tif'); h = imf...

plus de 14 ans il y a | 0

Réponse apportée
Where can I find which "common functions" symvar identify?
edit symvar Look at the comment inside the symvar.m that says: _* Find opening parentheses and check to make sure they d...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
how can I convert a string to an expression which "symvar" can search for identifiers?
insertfunction='cos(pi*x - beta1)' symvar(insertfunction)

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
How does symvar work?
symvar gives you the symbolic variables inside one expression, you say that t is symbolic so the expression symvar('cos(2*pi*t)'...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
GUI--how to program two sliders to be dependent on each other
Suppose your are using GUIDE, on the slider2 callback set(handles.slider1,'value',get(handles.slider2,'value')/.156) if not ...

plus de 14 ans il y a | 4

| A accepté

Réponse apportée
passing values between guis?
doc setappdata %use h=0 to store the data in the base workspace

plus de 14 ans il y a | 0

Réponse apportée
Changing font size using xlabel
h=xlabel('mylabel') %or h=get(gca,'xlabel') set(h, 'FontSize', 30) set(h,'FontWeight','bold') %bold font

plus de 14 ans il y a | 0

Réponse apportée
Using uicontrol in a figure
The grid command like you have in the callback only applies to the current axes so you have to do it for all axes, use the grid ...

plus de 14 ans il y a | 0

Réponse apportée
Symbolic Math Toolbox VS MuPAD: example in advance of the first?
syms x simplify(exp(log10(x)))

plus de 14 ans il y a | 0

Réponse apportée
Newbie question: adding m-files
add the path to your m-files doc addpath

plus de 14 ans il y a | 1

Réponse apportée
Load a variable in workspace from a Function
assignin('base', 'VarNameYouWishAtWorkspace', VarNameAtYourFunction)

plus de 14 ans il y a | 1

Réponse apportée
Matrix manipulations
You can ensure that your array has the proper dimensions before doing the calculation [sr,sc]=size(CgvB); if (sr>0 & sc==2)...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How do I create a set of variables from specific coordinate values in a square matrix?
<http://www.mathworks.com/matlabcentral/answers/143-how-do-i-make-a-series-of-variables-a1-a2-a3-a10 How do I make a series of v...

plus de 14 ans il y a | 0

Réponse apportée
How can I make a check box toggle when plot has different type?
ErrorFlag=1; %the code inside the while is executed while(ErrorFlag) try %replace this line with your plot comman...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
stop timer
Your timer function @axes1.handles is completly invalid, it's no function. Also the way you start and stop the timer isn't corr...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Error invalid handle after PLOT when I change ratiobutton
You forgot to update the handles structure in the plot_callback, add the code in the end of the plot_callback: guidata(hObjec...

plus de 14 ans il y a | 0

Réponse apportée
equivalent discrete system
use the c2d function from the Control System Toolbox Example from <http://www.library.cmu.edu/ctms/ctms/digital/digital.htm ctm...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Trying to make a specific transfer functino block in Simulink
Transfer function block with these parameters: num=12.5 den=[1 1 6.25] Connected to a Transport Delay block

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Creating an ordered list of vectors
v=perms(1:4); Now instead of having v1,v2... you have v(1),v(2)...

presque 15 ans il y a | 1

Charger plus