Question
I want to write names in Matlab by using bezier technique ( you can edit the code below to write the mention names ) Names
I want to write names in Matlab by using bezier technique ( you can edit the code below to write the mention names )
Names :
1- Faten Mahmood Abd
2- Rahma Mohammed Atwan
the code is :
a=1; for u=0:0.01:1; x=[17 18.5 18 16]; Y=[3.5 2.5 1 1]; x1=[16.5 11.5 11.5 16.5]; y1=[3 2.5 2 1.5]; x2=[16.5 16 10 9.6]; y2=[1.5 1.7 1.7 1.5]; x3=[8.9 10.6 10.4 6.9]; y3=[1.9 1.6 1.4 1.5]; x4=[13.5 14.5 14.5 13.5]; y4=[3.3 3.3 3.1 3.1]; x5=[13.5 12.5 12.5 13.5]; y5=[3.3 3.3 3.1 3.1]; m=[-1 3 -3 1;3 -6 3 0;-3 3 0 0;1 0 0 0]; px(a)=[u^3 u^2 u 1]*[m]*[x]'; py(a)=[u^3 u^2 u 1]*[m]*[y]'; px1(a)=[u^3 u^2 u 1]*[m]*[x1]'; py1(a)=[u^3 u^2 u 1]*[m]*[y1]'; px2(a)=[u^3 u^2 u 1]*[m]*[x2]'; py2(a)=[u^3 u^2 u 1]*[m]*[y2]'; px3(a)=[u^3 u^2 u 1]*[m]*[x3]'; py3(a)=[u^3 u^2 u 1]*[m]*[y3]'; px4(a)=[u^3 u^2 u 1]*[m]*[x4]'; py4(a)=[u^3 u^2 u 1]*[m]*[y4]'; px5(a)=[u^3 u^2 u 1]*[m]*[x5]'; py5(a)=[u^3 u^2 u 1]*[m]*[y5]'; a=a+1; end plot(x,y,px,py,x1,y1,px1,py1,x2,y2,px2,py2,x3,y3,px3,py3,x4,y4,px4,py4,x5,y5,px5,py5) plot(px,py,px1,py1,px2,py2,px3,py3,px4,py4,px5,py5)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started