Vector Equation with scalars?

조회 수: 6 (최근 30일)
Ian
Ian 2014년 2월 3일
답변: Amit 2014년 2월 3일
Define a and b as scalars a = 3 and b = 4, and x as the vector x = −3,−2.8,−2.6,··· ,1.6,1.8,2. Then use these variables to calculate y by y = 8((a^2)/(x^2 + b^2)) .

채택된 답변

Amit
Amit 2014년 2월 3일
a = 3;
b = 4;
x = -3:0.2:2;
y = 8*(a^2)./(x.^2+b^2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by