photo

Jonathan Trencheny


Aktiv seit 2016

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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?

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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.

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten