Community Profile

photo

TS


Active since 2015

Followers: 0   Following: 0

Message

N/A

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Combining two plots and adding color to points
matrix=load('Data'); x = matrix(:,1); y = matrix(:,2); fprintf('The maximum distance between two points is %3...

9 years ago | 1 answer | 0

1

answer

Question


Average distance from the origin
matrix=load('Data'); x = matrix(:,1); y = matrix(:,2); distances = sqrt((x-0).^2 + (y-0).^2) sum(distances)./(size...

9 years ago | 2 answers | 0

2

answers

Question


Color for points in scatter plot based on quadrants
matrix=load('Data'); x = matrix(:,1); y = matrix(:,2); matrix(x>0 & y>0,3) = 1; matrix(x<0 & y>0,3) = 2; m...

9 years ago | 1 answer | 0

1

answer

Question


Determining Quadrants in a Matrix
matrix=load('Data'); x=matrix(:,1); y=matrix(:,2); if x>0 & y>0 matrix(:,3)=1 elseif x<0 & y>0 m...

9 years ago | 2 answers | 0

2

answers

Question


While loop for a menu
options=menu('Options','Report Quadrants','Plot Data','Avg. Dist.','Max Dist.','Print Ascii','Exit Program') while (true) o...

9 years ago | 3 answers | 0

3

answers

Question


Summation of an infinate series
I need help creating a code that computes the summation of L=1/(2^n) where the summation will stop when the difference between v...

9 years ago | 1 answer | 0

1

answer

Question


Name Storing in a While Loop
while (true) f=input('Enter First Name:','s'); l=input('Enter Last Name:','s'); s1=strvcat(f,l) ...

9 years ago | 1 answer | 0

1

answer

Question


Name Storage with Repeat loops
f=input('Enter First Name:') l=input('Enter Last Name:') for [f,l] repeat strvcat(f,l) until f=Jed ...

9 years ago | 1 answer | 0

1

answer

Question


Counting Matrcies so that the numbers are next to them.
So I have a matrix with a phrase that repeats as many times as the user input it to. The problem is that I would like to have a ...

9 years ago | 1 answer | 0

1

answer

Question


Nearest Neighbor Algorithm Help!
Hey, so I'm struggling trying to find how to use the nearest neighbor algorithm (yes, NOT the command)in order to organize a gro...

9 years ago | 1 answer | 0

1

answer

Question


Norm with matrices help
When using norm with matrices, is it the average?

9 years ago | 2 answers | 0

2

answers

Question


How do I display these matrices side by side incluing one with character strings.
Ok, so right now I am trying to display some stats and the problem is the fact that the matrix with characters in it will not al...

9 years ago | 1 answer | 0

1

answer

Question


Combining Matrices Concerning Stats
I'm having trouble getting matrices in separate strings to function with one another. The matrices that I have: R=[1;2;3;4;...

9 years ago | 1 answer | 0

1

answer