Carly Hudson
Followers: 0 Following: 0
Statistics
RANK
202,754
of 295,467
REPUTATION
0
CONTRIBUTIONS
7 Questions
0 Answers
ANSWER ACCEPTANCE
42.86%
VOTES RECEIVED
0
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
2 years ago
Solved
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
2 years ago
Solved
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
2 years ago
Question
Drawing lines with a handle
Hello. I am working on a project and I am having a hard time plotting a "line for each link". I have tried the plot and line fun...
2 years ago | 1 answer | 0
1
answerQuestion
Creating empty cell array with function
function link_set = build_links(link_vectors); % Use the 'cell' 'and 'size' commands to create an empty cell array the %...
2 years ago | 1 answer | 0
1
answerQuestion
How do I add a legend in a for loop of variables from an array?
Hello, I am attempting to input of an array into a legend, in a for loop. I am having trouble, but I think I am almost there. A...
4 years ago | 1 answer | 0
1
answerQuestion
Having trouble with legend
Here is my code: %Line Colors strColor = {'-r','-g','-b'}; %Legend String strLegend = {'nSamples = 5','nSamples = 10','nSa...
4 years ago | 2 answers | 0
2
answersQuestion
Getting error about index in for loop
%for loop for plotting given data for k = 0:size(dataN) val = dataN(:,k); avg = mean(val); end I am getting this er...
4 years ago | 1 answer | 0
1
answerQuestion
How to make an array of function outputs?
%equation for y yFunction = @(t) ((4.*t.^3)+(3.*t.^2)+(5.*t)+5); %Plotting the function fplot(yFunction,[-10,10]); I am tr...
4 years ago | 2 answers | 0
2
answersQuestion
How to index a variable value and assign it to an array?
I am a beginner in MatLab and I am trying to assign a variable value to an array. Ex: d1 = 579 y = array(d1) I know I can ...
4 years ago | 1 answer | 0