Community Profile

photo

Serena Simpson


Last seen: más de 3 años hace Con actividad desde 2020

Estadísticas

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Content Feed

Ver por

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 3 años hace | 1 respuesta | 0

1

respuesta