How to write x-axis for plot?

조회 수: 2 (최근 30일)
Abdulrahman Al Ali
Abdulrahman Al Ali 2019년 3월 4일
댓글: Abdulrahman Al Ali 2019년 3월 4일
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

답변 (1개)

Alberto Mora
Alberto Mora 2019년 3월 4일
Hi, try:
xlabel('write here you text');
Regards
  댓글 수: 1
Abdulrahman Al Ali
Abdulrahman Al Ali 2019년 3월 4일
Stil got an error “Student code gives incorrect x-axis for graph” is there another way please?

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

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by