Serena Simpson
Followers: 0 Following: 0
Feeds
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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...
4 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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:...
4 years 前 | 1 个回答 | 0
1
个回答提问
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-...
4 years 前 | 1 个回答 | 0
1
个回答提问
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:...
4 years 前 | 1 个回答 | 0