photo

Jonathan Trencheny


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


what am I doing wrong here?
function a = problem4c (m) m=4; a = [1:m; 2:m; 3:m; 4:m; 5:m]; x = mean(a); avg = mean(x); I keep getting...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


How would I create a function using a positive integer 'q' in a 5 by q matrix, where row 'i' consists of i, 2i, 3i...qi.
This is a homework question I have been stuck on.

bijna 9 jaar ago | 1 answer | 0

1

answer

Question


This is a homework question I have been stuck on.
Write a MatLab function called problem5 that inputs, in this order, a row vector vec, and a positive integer n, and outputs a t...

bijna 9 jaar ago | 2 answers | 0

2

answers

Question


How would I create a function using a positive integer 'q' in a 5 by q matrix, where row 'i' consists of i, 2i, 3i...qi.
Also, how would a second output, containing the average of every element in the first output be written?

bijna 9 jaar ago | 0 answers | 0

0

answers

Question


how would I create a 6x6 matrix with evenly distributed values from -10 to 10?
I know a long way, by typing out the exact values, I was just curious as to if there was a more efficient way.

bijna 9 jaar ago | 2 answers | 0

2

answers