Community Profile

photo

Serena Simpson


Last seen: 15 jours ago
9 total contributions since 2020

Serena Simpson's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Matrixes must agree error
I have the .* to do element by element math, however, it keeps coming back with matricies must agree errors %% Section 1: Ini...

16 jours ago | 1 answer | 0

1

answer

Question


Not enough input arguments
Hi, I wrote a function that needs to accept user input and then call the function ussing that input. However, it says not enough...

16 jours ago | 2 answers | 0

2

answers

Question


How to use fprintf statements after a function
I have a function. For my class, we have to put result output at the bottom of our code. However, functions have to be at the bo...

20 jours ago | 2 answers | 0

2

answers

Question


How to find the index of the variable in my For Loop when a condition is met
I wrote code that itterates element by element of the array 'nr'. Nr has 1000 random numbers. I want to display when two of thos...

26 jours ago | 2 answers | 0

2

answers

Question


How to iterate through an array to check for adjacent elements that are equal to one another using loops.
%This loads the file and allows us the work with the 'nr' varible load("m05.mat") %Varible for vector one. This vector will ...

27 jours ago | 1 answer | 0

1

answer

Question


How do i print all of the indexes of c?
%% Module 5 Prog 2 % %This rogram will use a file from canvas to answer a series of questions % %ENG 101-04 %Serena Simpson...

environ un mois ago | 0 answers | 0

0

answers

Question


My cos function appears as a straight line instead of as a wave
%Defining given varibles t = 0 :.1 :3; f1 = 130; f2 = 120; y1 = cosd(2*pi*f1*t); y2 = cosd(2*pi*f2*t); %% Section 2:...

environ un mois ago | 1 answer | 0

1

answer

Question


Why won't this plot?
%% Section 1: Initalization of Variables %increments of x x = -4:1:-1; % %The function we are given y = x + (1 ./ (x.^2-...

environ un mois ago | 1 answer | 0

1

answer

Question


Error using 'pi' too many input errors with my equation
%Defining given varibles t = 0 :.1 :3; f1 = 130; f2 = 120; y1 = cosd(2*pi*f1*t); y2 = cosd(2*pi*f2*t); %% Section 2:...

environ un mois ago | 1 answer | 0

1

answer