답변 있음
hist problem
unique(out) gives 25, that means you ask for 25 bins, you can see it because you get counts and values with 25 elements. do i...

거의 15년 전 | 0

| 수락됨

답변 있음
YDataSource problems
Use lines instead of plots and change their xdata and ydata everytime you want to update them. I can't understand that code, yo...

거의 15년 전 | 0

답변 있음
Setting value to zero at random
idx=find(max(nonzeros(A))==A); B(randi([idx(1) idx(end)]))=0

거의 15년 전 | 1

| 수락됨

답변 있음
convert strings back to variable names?
Just a simple example on how to create 3 variables with predetermined values. v={'x1a','x2b','xA'}; values={10,20,30}; ...

거의 15년 전 | 7

답변 있음
How to set axes grid color?
set(axes_handle,'XGrid','off') set(axes_handle,'YGrid','off') or all in one line set(gca,'YGrid','off','YGrid','off')

거의 15년 전 | 0

| 수락됨

답변 있음
How to Open file with GUI's axes multiple times?
% --- Executes on mouse press over axes background. function axes1_ButtonDownFcn(hObject, eventdata, handles) % hObject ...

거의 15년 전 | 0

| 수락됨

답변 있음
How to enter an input in an active 'while' loop?
Take a look at my program <http://www.mathworks.com/matlabcentral/fileexchange/29618-spspj SpSpj> , might not be the best way to...

거의 15년 전 | 0

| 수락됨

답변 있음
Viewing Time vs Frequency in Simulink
This is the code just for MATLAB t = 0:0.001:10; % 10 seconds @ 1kHz sample rate fo = 10; f1 = 400; % Start at 10...

거의 15년 전 | 1

| 수락됨

답변 있음
How to get x,y coordinates of each pixels in a connected component ??
bw = imread('text.png'); L = bwlabel(bw); s = regionprops(L, 'centroid'); XY=[s.Centroid]; ax=axes hold on ...

거의 15년 전 | 0

답변 있음
Reshowing an image in a programmatic gui
Everytime you use imshow you must also give that image the tools, example: handles.fig=figure handles.ax=axes handles...

거의 15년 전 | 0

답변 있음
Create variable in workspace
function MakeMyVar(VarName,VarValue) assignin('base',VarName,VarValue) end

거의 15년 전 | 1

| 수락됨

답변 있음
What is the algorithm used by freqz?
edit freqz and see how it works

거의 15년 전 | 0

답변 있음
GUI
<http://www.mathworks.com/help/toolbox/imaq/f11-74309.html Previewing Data> <http://www.mathworks.com/matlabcentral/fileexcha...

거의 15년 전 | 0

| 수락됨

답변 있음
strfind in simulink and stateflow
if any(strfind((x)>4,[1 1 1 1 1])) V=10000; else V=1 end

거의 15년 전 | 1

답변 있음
Simulating model in command window without using workspace.
<http://www.mathworks.com/support/tech-notes/1900/1903.html Command Line Functionality for Simulink>

거의 15년 전 | 0

답변 있음
sampling audio signal
[x,fs] = wavread('file'); t = 0:1/fs:length(x); plot(t,x); for stereo files [y, fs]=wavread(fileName); % Read wave fil...

거의 15년 전 | 1

답변 있음
GUI
<http://www.mathworks.com/matlabcentral/fileexchange/2378 Buttons>

거의 15년 전 | 0

답변 있음
How do I run a simulation with a transfer function block and a multi dimensional input ?
I tested a model and found problems doing what you want, my workaround is: # Insert a sine wave block (f=2*pi*0.22 and phase=...

거의 15년 전 | 0

| 수락됨

답변 있음
Shift plot indexing
A = [10 9 7 8 4 2 5 1 0; 10 12 6 8 3 3 4 2 0]; plot(0:size(A,2)-1,A');

거의 15년 전 | 0

| 수락됨

답변 있음
Interactive Line Plot GUI
Take a look at <http://www.mathworks.com/matlabcentral/fileexchange/20645-ginput2-m-v3-1-nov-2009 ginput2>

거의 15년 전 | 0

답변 있음
I can't get the ilaplace of a function
The documentation for the ilaplace says that ilaplace(L) computes the inverse Laplace transform of the *symbolic expression L*, ...

거의 15년 전 | 0

답변 있음
Find
a=randi([1 10],10,2); %make up some data x=a(:,1); y=a(:,2); b=5; sum(y<x+b & y>x-b)

거의 15년 전 | 0

답변 있음
How to make a unique vector
a = [22 20 21 20 24 25 26 22] %your vector b=unique(a); %get the unique ones d=perms(b); %get all possible permutations o...

거의 15년 전 | 0

답변 있음
Bode
Besides Oleg suggestion, bode doesn't take double arguments, you must provide one transfer function instead. %simple example ...

거의 15년 전 | 1

답변 있음
plotting of points
%generate some fake data similar to the picture 1 t=1:100; up=10+2*rand(1,45); desc=9-(1:10)*rand(1,1); down=1+2*r...

거의 15년 전 | 0

답변 있음
Colorbar displays in new figure
Let me know if this is correct, you have the GUI open and you want to add the colorbar from a code on the command line? If th...

거의 15년 전 | 0

답변 있음
Set cursor position in multiline uicontrol edit box
take a look at <http://undocumentedmatlab.com/blog/setting-line-position-in-edit-box-uicontrol/ Setting line position in an edit...

거의 15년 전 | 0

답변 있음
Kalmanfilter
Sure you can, take a look on the <http://www.mathworks.com/matlabcentral/fileexchange/ FEX> for examples of the use of the Kalma...

거의 15년 전 | 0

답변 있음
Passing figure data from fcn to plot in GUI
Why doesn't gcvplots return the data necessary to do the plots to the GUI and the code to plot goes inside the GUI? function...

거의 15년 전 | 0

| 수락됨

답변 있음
Pulling handle from messagebox within GUI
I don't see a problem there because it works just fine uiwait(msgbox('Message')) or waitfor(msgbox('Message'))

거의 15년 전 | 0

| 수락됨

더 보기