Borrar filtros
Borrar filtros

How to write x-axis for plot?

3 visualizaciones (últimos 30 días)
Abdulrahman Al Ali
Abdulrahman Al Ali el 4 de Mzo. de 2019
Comentada: Abdulrahman Al Ali el 4 de Mzo. de 2019
clear all
clc
syms x;
f=@(x) x^3-3*x^2;
g=@(x) 4*x;
IP=solve(f(x)-g(x))
A1=int(-g(x)+f(x),-1,0);
A2=int(-f(x)+g(x),0,4);
A=A1+A2
Aalt=int(abs(f(x)-g(x)),-1,4)
k.JPG
kk.JPG

Respuestas (1)

Alberto Mora
Alberto Mora el 4 de Mzo. de 2019
Hi, try:
xlabel('write here you text');
Regards
  1 comentario
Abdulrahman Al Ali
Abdulrahman Al Ali el 4 de Mzo. de 2019
Stil got an error “Student code gives incorrect x-axis for graph” is there another way please?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by