제출됨


Find intersection of two lines
This function accepts two lines and returns the point that the lines have in common.

대략 15년 전 | 다운로드 수: 3 |

3.5 / 5
Thumbnail

답변 있음
script to call functions
function main s=input('insert the function number: ') switch s case 1 fun1 case 2 fun2 case 3 fun3 ...

대략 15년 전 | 0

| 수락됨

답변 있음
How do I produce CAPITAL Greek letters in my titles
figure axes title('\delta \Delta \Lambda \lambda \pi \Pi') Not all letters got uppercase, see this <http://omega.albany....

대략 15년 전 | 0

| 수락됨

답변 있음
Dumb mistakes we make with MATLAB.
forget to put ; in some vector and array operations and get the command line spammed.

대략 15년 전 | 8

답변 있음
What Timezone Abbreviation does Java use for your location?
Tue Feb 22 01:16:41 GMT 2011 0

대략 15년 전 | 0

답변 있음
Seting a pushbutton in a GUI
function somar fig=figure(1) b1= uicontrol('Style','pushbutton',... 'String','Run Program',... 'Callback',...

대략 15년 전 | 0

답변 있음
What parts of MATLAB would you not miss?
quit I would never miss that function because matlab is always open on my laptop :)

대략 15년 전 | 2

답변 있음
How the user can save his result(gui) in a folder that he wanted??
This should work on Windows OS, don't know how to do it for other OS. filename = inputdlg('Please enter the name for your fi...

대략 15년 전 | 1

| 수락됨

답변 있음
Matlab does wired stuff
dim_set=67.5:1:100.5 const=20; dim_set %before dim_set=floor(dim_set); %have no clue what's the purpose of this line d...

대략 15년 전 | 0

| 수락됨

답변 있음
solve equation
f =@(x) x^3.34 + 841*x^2.34 + 2236*x-12678808 fsolve(f,0) You can also see the solution on a figure (try the data cursor) ...

대략 15년 전 | 1

답변 있음
Place a line as a marker in a 2D image
load clown clims = [10 60]; imagesc(X,clims) colormap(gray) XPosition=100 %choose where to draw the line line([XPosi...

대략 15년 전 | 1

| 수락됨

답변 있음
Binary addition in MATLAB
http://www.mathworks.com/matlabcentral/newsreader/view_thread/257224

대략 15년 전 | 0

답변 있음
System impulse response and Convolution by matlab
t=0:0.1:10; u=0*t; u(t>=0)=1; h=exp(-t/2); y=u.*h; plot(t,y)

대략 15년 전 | 0

답변 있음
how to plot y = m*x+d*g+d*(g^(1/k)+b^2+(b-x)^2)^k;
x = 0:.1:20; m=0.1; d=0.1; g=0.1; b=0.1; k=0.3; y = m*x+d*g+d*(g^(1/k)+b^2+(b-x).^2).^k; plot(x,y) Another way ...

대략 15년 전 | 0

| 수락됨

답변 있음
Simulink basics
There will be one webinar in two days <http://www.mathworks.com/company/events/webinars/upcoming.html?language=en&s_cid=HP_E_W ...

대략 15년 전 | 0

질문


eval inside arrayfun gives strange error
Can someone explain why this doesn't work? vec_1=[1 2 3 4]; vec_2=[5 6 7 8]; vec_3=[9 10 11 12]; vec_4=[13 14 15 1...

대략 15년 전 | 답변 수: 3 | 1

3

답변

답변 있음
Matrix Manipulation in Simulink
1) Build a GUI, you could just use guide, drag one uitable inside of the GUI, a button to load data and another to save data. ...

15년 초과 전 | 0

답변 있음
How do I save and restore the state data in a GUI?
A good place to start is <http://blogs.mathworks.com/videos/2010/12/10/how-to-save-and-restore-state-of-a-gui-in-matlab How to s...

15년 초과 전 | 3

답변 있음
How do I make a stem plot in MATLAB?
n=-10:10; a=0*n; a(n>=0)=1; stem(a) xlabel('this is the x label') ylabel('this is the y label') title('this ...

15년 초과 전 | 2

| 수락됨

답변 있음
Summing across columns
clf %clear a figure hold on %additive plotting a=rand(10,33) %generate some random data b=sum(a(:,2:end),2) %do the sum ...

15년 초과 전 | 0

질문


For new matlab/simulink users, do you know about the (interactive) video tutorials?!
Many new users might find this useful: <http://www.mathworks.com/academia/student_center/tutorials Tutorials> <http://blogs.ma...

15년 초과 전 | 답변 수: 4 | 6

4

답변

답변 있음
greater than and less than
data = sscanf (tempstng, '%d'); if ((data(4) > 13) & (data(4)< 15)) disp('if') elseif ((data(4) > 2) & (data(4)< 4))...

15년 초과 전 | 0

답변 있음
Tool Licenses
a=ver; fprintf('Toolbox Name,License Status (1 is licensed, 0 isnt licensed)\n') for b=1:numel(a) try ...

15년 초과 전 | 1

답변 있음
How to use a workspace variable in editor
Why don't you supply that variable as argument for the function when you call the function from workspace? MyFunction(MyCon...

15년 초과 전 | 0

답변 있음
Get a point from a graph
You can retrieve the plotted data, for example: XData=get(get(gca,'children'),'XData'); YData=get(get(gca,'children'),'YDat...

15년 초과 전 | 0

| 수락됨

답변 있음
How to make an input that can randomly produce +1 and -1 for every second?
Simulink ||random number (def. set.)||--|gain (10000)|--|saturation (-1 to 1)|-->output

15년 초과 전 | 0

Discussion


What is missing from MATLAB?
I'm curious, is there something you wish to do with MATLAB but you can't, maybe something you can do with other similar software...

15년 초과 전 | 12

질문


What is missing from MATLAB?
I'm curious, is there something you wish to do with MATLAB but you can't, maybe something you can do with other similar software...

15년 초과 전 | 답변 수: 123 | 12

123

답변

답변 있음
How to generate random data with a specific data rate
endtime=1e-5; %when to stop the stream, careful with the value %if you increase it the vector might use lots of memory f...

15년 초과 전 | 0

답변 있음
Cursor line
You might find useful tips inside the ginput function edit ginput %this function can be found inside ginput set(fig...

15년 초과 전 | 0

더 보기