필터 지우기
필터 지우기

how to print letters and variable in edittext at the same time? PLEASE

조회 수: 2 (최근 30일)
Erwin Avendaño
Erwin Avendaño 2017년 11월 4일
댓글: Karan Gill 2017년 11월 6일
I want that in the edittext print the text y = x where "x" was previously calculated and in this case to put an example is "2x" I want edidtext to print "y = 2x" because my program looks for the equation of a line, good the equation of the tangent line to a point on a curve How can I print variables and letters in edidtext at the same time?
syms x z f=get(handles.edit1,'string'); fs=sym(f); df=diff(fs); e=str2double(get(handles.edit10,'string')); y1=str2double(get(handles.edit11,'string')); m=subs(df,x,e); y=char(m*x-m*e+y1); set(handles.edit12,'string','y=y'dd');
  댓글 수: 1
Karan Gill
Karan Gill 2017년 11월 6일
Can you format your code? Also, what line in your code are you referring to?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by