Answer not giving me an array
古いコメントを表示
y=((x+5)^3)/(x^2) calculate the value of y for the following values of x using element by element operations: 1,2,3,4,5,6.
clc; clear; close all;
%page 86 problem 2
x = [1:6]
y = ((x+5).^3)/(x.^2)
When I get the answer, it's a single number, and I don't think that should be the case.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Mathematics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!