Plot of any equation using GUI
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Md. Ashikur Rahman Any
am 21 Apr. 2021
Bearbeitet: Md. Ashikur Rahman Any
am 21 Apr. 2021
I want to made a plotter using GUI. For that purposes i tried to write the expression.Then converting this expression(string) into symbolic expression and plotting it.After that i tried the following code.
Basically i want to plot anytype of implicit and explicit equation.
But it didn't work properly.what to do?
% --- Executes on button press in Plott.
function Plott_Callback(hObject, eventdata, handles)
% hObject handle to Plott (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
strr=get(handles.screen,'string');
syms x y;
axes(handles.axes1);
x=0:0.1:10;
y=str2sym(strr);
fplot(y,[-10 20]);
guidata(hObject,handles);
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!