Community Profile

photo

Elijah Smith


Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • Solver
  • First Answer

Afficher les badges

Feeds

Afficher par

A résolu


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

presque 5 ans il y a

A répondu
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...

plus de 5 ans il y a | 0

A répondu
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...

plus de 5 ans il y a | 1

A répondu
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...

plus de 5 ans il y a | 1

A répondu
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...

plus de 5 ans il y a | 0

A répondu
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...

plus de 5 ans il y a | 0

A répondu
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 &...

plus de 5 ans il y a | 1