Elijah Smith
2018 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
5年以上 前
回答済み
how to find out wether the array is Hill or not?
This is just the first thing that I thought of: function res = Is_hill(array) %define variables res = -1; stopVa...
how to find out wether the array is Hill or not?
This is just the first thing that I thought of: function res = Is_hill(array) %define variables res = -1; stopVa...
6年弱 前 | 0
回答済み
How to use the loops in this situation?
So, there are a few things that I noticed right off the bat. I have not seen the syntax "while if ..." and I don't believe tha...
How to use the loops in this situation?
So, there are a few things that I noticed right off the bat. I have not seen the syntax "while if ..." and I don't believe tha...
6年弱 前 | 1
回答済み
How to solve equations
I'm not sure if I understand what your asking. If you are saying that you have the values for pi, pj, and pk already then you ca...
How to solve equations
I'm not sure if I understand what your asking. If you are saying that you have the values for pi, pj, and pk already then you ca...
6年弱 前 | 1
回答済み
how to save the result of each iteration of 'for' loop in a text file without replacing the previous results in the text file????
you must open the file with "append" permissions not "write" permissions like so: fid = fopen(my1.txt, 'a'); %this will not era...
how to save the result of each iteration of 'for' loop in a text file without replacing the previous results in the text file????
you must open the file with "append" permissions not "write" permissions like so: fid = fopen(my1.txt, 'a'); %this will not era...
6年弱 前 | 0
回答済み
Why does this produce an error?
Here are the problems: 1) you can't use a value for a input (as the other people have said) 2) even if your inputs were vari...
Why does this produce an error?
Here are the problems: 1) you can't use a value for a input (as the other people have said) 2) even if your inputs were vari...
6年弱 前 | 0
回答済み
how can i make the centre elements of a matrix to become zeros
this is what I came up with: function A = cancel_middle(A, k) [n, m] = size(A); array2add = zeros(k); if n > k &...
how can i make the centre elements of a matrix to become zeros
this is what I came up with: function A = cancel_middle(A, k) [n, m] = size(A); array2add = zeros(k); if n > k &...
6年弱 前 | 1