Prithvi Shams
Followers: 0 Following: 0
Feeds
답변 있음
[Assignment]Write a function called saddle that finds saddle points in the input matrix M.
function indices = saddle(M) B = size(M); idx = 0; A = []; %% for i = 1:B(1) for ...
[Assignment]Write a function called saddle that finds saddle points in the input matrix M.
function indices = saddle(M) B = size(M); idx = 0; A = []; %% for i = 1:B(1) for ...
4년 초과 전 | 0
답변 있음
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
Here's my version of the code. While the problem can be solved with movsum() in a single line, it's recommended to utilize if a...
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
Here's my version of the code. While the problem can be solved with movsum() in a single line, it's recommended to utilize if a...
4년 초과 전 | 0
질문
What is wrong with this code?
I would like to plot the following function where, Ao = 0.2, E = 181e9, Beta = 200, Vo = 0.5 and Va = 0.85. The objective i...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Why does my function keep returning zero?
In the following code, my objective is to plug different values of T and alpha into the functon and calculate y for two situatio...
대략 5년 전 | 답변 수: 1 | 0