Community Profile

photo

Serena Simpson


Last seen: plus de 3 ans il y a Actif depuis 2020

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 2 réponses | 0

2

réponses

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

plus de 3 ans il y a | 2 réponses | 0

2

réponses

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

plus de 3 ans il y a | 2 réponses | 0

2

réponses

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

0

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse