Community Profile

photo

Elijah Smith


Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Solver
  • First Answer

View badges

Feeds

View by

Solved


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 years ago

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 1

Answered
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...

5 years ago | 1

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 0

Answered
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 &...

5 years ago | 1