Anne Nguyen
Followers: 0 Following: 0
Statistik
RANG
11.485
of 295.569
REPUTATION
4
BEITRÄGE
28 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
71.43%
ERHALTENE STIMMEN
4
RANG
of 20.247
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
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 ...
fast 2 Jahre vor
Gelöst
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:...
fast 2 Jahre vor
Frage
Letters from Answer Key to Percentage?
The answer key is: D B C B A C B D D B B A B B A D C % this from G2:W2 in an Excel Spreadsheet While (fo...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to save certain parts of cleaned data from Excel Spreadsheet?
What I have so far is: filename = 'quiz_results.xlsx'; sheet = 1; [nums,txt,raw] = xlsread(filename); [nums1,txt1,raw1] ...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to only get certain parts of an Excel Spread using readcell?
What I have so far is: M = readcell('quiz_results.xlsx'); answerKey = M('G2:W2'); When I run this, I get a 1x5 cell, and ...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Percentage to Letter Grade
I must create a function that outputs a letter grade based on the combined percentage a student scored on an multiple choice qui...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Program that outputs letter grade based on percentage?
How do I create a script that has a program that takes in a student's score from an Excel Spreadsheet (in percent, i.e. 88%), an...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
xlsread function: How to only get certain info from Excel Spreadsheets?
Hello, how do only get certain parts of an Excel Spreadsheet onto a MATLAB script? For example, I only want to include cells G2:...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Help with echo effect to audio signal code?
How do I create a function that will add an echo effect to the audio signal? The function should take in the sound vector, sampli...
etwa 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Help with problem?
What would the value of d be after the following code is executed? >> vec = linspace(99,44,56); >> vec = reshape(v...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
What are variable scopes?
I looked at the articles on MathWorks, and I still do not understand variable scopes. Can someone please give me a simpler defin...
etwa 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Difference between ' (single quote) vs " (double quote)?
When used in an fprintf or disp function, what is the difference between using only ' (single quote) vs using " (double quote)? ...
etwa 5 Jahre vor | 1 Antwort | 4
1
AntwortFrage
Array vs. Matrix Operations
A row vector and a column vector have compatible sizes. If you add a 1-by-3 vector to a 2-by-1 vector, then each vector implicit...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
rand in matrix?
Is it possible to use rand in a matrix and include a range? I know it is possible with a vector, but I wanted to see if it was p...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Question about column operator vectors
Why does vec = -1:-5 not output -1 -2 -3 -4 -5? Why does it say 1x0 empty double row vector? An explanation of this ...
etwa 5 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Explain this please?
x = 2; e = 2.713; c = 5 + (x < 2 || (e < pi)); c = 6 How does the value of c=6 after the code is executed? 2 is not less...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How do I only take the first 1000 elements of a vector?
My task is to use the first 1000 elements in a vector. So how do I only take the first 1000 elements of a vector? I am new to MA...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to write if statement?
How do I write an if statement saying if either input is a matrix, my program should throw a unique error message? (I cannot use...
etwa 5 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to display unique error message in function code?
Here is my code: function returnVec = repvec(vec, s) returnVec = []; i = 1; for x = vec for y = 1:s ...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Error: "Not enough input arguments"
Here is the code that I have written so far: function out = repvec(vec, s) vec_size = size(vec); num_row = vec_size(1); ...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Error with xlim and ylim?
Here is the function I wrote: function [x,y,hitDistance,hitTime] = throwBallFunc(velocity,angle) h = 1.5; % initial height of ...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Error in xlim and ylim?
This is the code I have so far: plot(x,y); xlabel('Distance (m)'); ylabel('Ball Height (m)'); title('Ball Trajectory'); xl...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to add a dashed horizontal line at 0 using plot function?
How I do add a dashed horizontal line on a graph using the plot function?
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to plot a dotted black line (without using yline function)?
How do I plot a horizontal dotted black line going from 0 to the maximum value of x? The height of the line should be 0. I canno...
etwa 5 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to take value from function and put it into disp script?
My task is to "display the words: 'The ball hits the ground at a distance of X meters', where X is the hitDistance from the func...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to transpose a matrix without using built-in functions?
How do I write a function (called transposeMat) that returns the transpose of a given 3x3 matrix without using any built-in func...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Contents in a Vector
Consider the following matrix. A= 13 10 7 1 5 9 5 15 25 How do I 1. Write the contents...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to turn assigned vectors into a 3x3 matrix?
How do I turn these vectors into a 3x3 matrix? I am new at MATLab, so any help would be appreciated! vec1 = [1,2,4] vec2 = [5,...
etwa 5 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to display all decimal numbers for floating numbers?
The task I have to perform is take 2 user input numbers that must be floating numbers and add them together. However, when I do ...
etwa 5 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
Some number inputs do not work with code while others do.
For some inputs, the code works properly. But for example, if the number I put in for mass is greater than or equal to the numbe...
etwa 5 Jahre vor | 1 Antwort | 0