create a script for w = x^2cos(1/x)

조회 수: 4 (최근 30일)
James Water Bird
James Water Bird 2021년 2월 25일
편집: KALYAN ACHARJYA 2021년 2월 25일
x = linspace(-1,1,100)
what is w
  댓글 수: 1
KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 2월 25일
편집: KALYAN ACHARJYA 2021년 2월 25일
w is the output result.
x = linspace(-1,1,100);
w=x.^2.*cos(1./x);
plot(x,w);
Do google MATLAB Onramp

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by