Feeds
질문
How to use elements i, j to print a 5x5 matrix
I want to achieve what is in the comment of the code but using my code the for loop does not effect the result. How can I produc...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
clc clear all close all **Iteration 2** AF = @(x) x^2-x-1; % anonymous function equation xi = 2; % initial gu...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Index in position 1 is invalid. Array indices must be positive integers or logical values.
% vectors x=[8 2 2] and y=[7 9 3], compute arrays: % 1. a_ij=x_i y_j % 2. b_ij=x_i/y_j % 3. c_ij=x_i y_j then add up...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Invalid use of operator. "*"
% compute the function y=exp (x2) * cos (20x) in the range x= -2:0.1:2. clc close all x = -2: 0.1: 2; y = cos(20*x...
대략 6년 전 | 답변 수: 1 | 0

