1_d plot creation

Versión 1.0.0 (300 KB) por Vedant
To create 1_d plot and array
4 descargas
Actualizado 1 dic 2022

Ver licencia

Firstly we have created an array for calculating the values of x from 0 to 10 with a interval size of 0.5
We have been given the quation of y as y=x^2-10
Firstly we have calulated the value of y without dot operation as y=(x*x')-10 .( x'is xtranspose)
Then we have calulated the value of x_start and x_end and calulated the values of y_start and y_end without dot operation as follows:
y_start=(x_start*x_start')-10
y_end=(x_end*x_end')-10
Then we have calulated the value of y with dot operation as y_dot=x.^2-10
Then we have calculated the value of x_dot_start and x_dot_end and calculated te values of y_dot_start and y_dot_end with dot operation as follows:
y_dot_start=x_dot_start.^2
y_dot_end=x_dot_end^2
Then we have plotted a graph between(x,y) with linewidth 1 and color black(k)
similiarly we have plotted the graph between(x and y_dot) with linewidth1 and color black(k)
we have given labels of x axis and y axis and xlabel(x-axis) ylabel(y-axis)
value of axis is [0,10,-10,100]
We have given title to the graph

Citar como

Vedant (2024). 1_d plot creation (https://www.mathworks.com/matlabcentral/fileexchange/121453-1_d-plot-creation), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2022b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0