답변 있음
GUI - text instead of numbers
function testpj() hf=figure; h1 = uicontrol(hf,'Style','edit',... 'string','',... 'Position',[30 20 150 30]'...

거의 15년 전 | 0

답변 있음
How can I turn s/s to 1?
prompt={'Proportional Coefficient Input','Integral Coefficient Input','Derivative Coefficient Input'}; defans={'1','0','0'}; an...

거의 15년 전 | 1

| 수락됨

답변 있음
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...

거의 15년 전 | 2

| 수락됨

답변 있음
output of code words
num2str([1 0 1 .0116]') %this just shows the values in string format Remove the ' if you want the...

거의 15년 전 | 0

| 수락됨

답변 있음
how to limit one axis in plot function
ylim([-1.5 1.5]) or set(gca,'ylim',[-1.5 1.5])

거의 15년 전 | 2

| 수락됨

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 1

| 수락됨

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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 ...

거의 15년 전 | 2

답변 있음
How can I reach the code of the default print tool?
doc printdlg

거의 15년 전 | 1

| 수락됨

답변 있음
FIR Filters with GUI
<http://www.mathworks.com/matlabcentral/fileexchange/24654-real-time-filters-gui Real time filters: GUI> or other similiar appli...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 1

| 수락됨

답변 있음
how can I convert a string to an expression which "symvar" can search for identifiers?
insertfunction='cos(pi*x - beta1)' symvar(insertfunction)

거의 15년 전 | 1

| 수락됨

답변 있음
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)'...

거의 15년 전 | 1

| 수락됨

답변 있음
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 ...

거의 15년 전 | 4

| 수락됨

답변 있음
passing values between guis?
doc setappdata %use h=0 to store the data in the base workspace

거의 15년 전 | 0

답변 있음
Changing font size using xlabel
h=xlabel('mylabel') %or h=get(gca,'xlabel') set(h, 'FontSize', 30) set(h,'FontWeight','bold') %bold font

거의 15년 전 | 0

답변 있음
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 ...

거의 15년 전 | 0

답변 있음
Symbolic Math Toolbox VS MuPAD: example in advance of the first?
syms x simplify(exp(log10(x)))

거의 15년 전 | 0

답변 있음
Newbie question: adding m-files
add the path to your m-files doc addpath

거의 15년 전 | 1

답변 있음
Load a variable in workspace from a Function
assignin('base', 'VarNameYouWishAtWorkspace', VarNameAtYourFunction)

거의 15년 전 | 1

답변 있음
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)...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 1

| 수락됨

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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...

거의 15년 전 | 0

답변 있음
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...

거의 15년 전 | 0

| 수락됨

답변 있음
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

거의 15년 전 | 1

| 수락됨

답변 있음
Creating an ordered list of vectors
v=perms(1:4); Now instead of having v1,v2... you have v(1),v(2)...

거의 15년 전 | 1

더 보기