photo

BCLAcowgirl#1


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Create a vector 't' and vector 'f' where 'f' is a mathematical function to plot.
Create a vector 't' which consists of 100 numbers uniformly spread between 0.01 and 1. Also create a vector 'f' which includes t...

6 years ago | 1 answer | 0

1

answer

Question


Write a 'for' loop from 1 to 3 using 'i' as the variable. For each value of 'i', create a vector 'x' and vector 't' to plot.
Write a 'for' loop from 1 to 3 using 'i' as the variable. For each value of 'i': Create a vector 'x' of 10 random numbers betwe...

6 years ago | 1 answer | 0

1

answer

Question


How do I use for loops and if statements to find numbers in a two dimensional array and replace them?
I need to replace all the negative numbers in A=[1 2 4; 3 2 -1; 2 4 5; -2 -1 10] with zeros using for loops and if statements. ...

7 years ago | 4 answers | 0

4

answers