Community Profile

photo

Humza Khan


Last seen: 2 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Array processing using Taylor Series and FOR Loops to approximate sin value for each element in that array.
I am using x = [-3:0.5:3] as a test value My code is giving correct sin(x) values for the negative part of this array. However,...

3 months ago | 1 answer | 0

1

answer

Question


Taylor series using For loop to approximate Sin(x).
function y = SIN(x) %SIN This function takes the value and processes the approximate sin %value of that input % ...

3 months ago | 1 answer | 0

1

answer

Question


Adding a row vector into the diagonal of another vector with m, n dimensions using for loop.
Suppose we have a matrix A that is ones(6,8) and another vector b that is [1:10] i want to make a new array (Add_array) using b...

3 months ago | 1 answer | 0

1

answer

Question


Required array is dependent on other arrays
The overall scores out of 100 students is included in the ascii file Scores.txt. The cut-off ratios for the letter grades are P...

4 months ago | 1 answer | 0

1

answer