# MS

**Statistics**

RANK**28,540**

of 239,482

REPUTATION**1**

CONTRIBUTIONS

**12** Questions

**5** Answers

ANSWER ACCEPTANCE **
83.33%
**

VOTES RECEIVED**1**

RANK

of 16,817

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

**Content Feed**

Question

How to choose data with three conditions to plot contour

I want to choose all the values from -50:1:50 with three conditons. 1, greater than zero(x>0), 2,smaller than -25 (x<-25) ...

1 year ago | 1 answer | 0

### 1

answerQuestion

x-y plot: how to shade the difference between two lines in multiple colors

kindly help me to fill the diffrence with two diffrent colur in a x y plot as shown in the below example figure? I need to sh...

1 year ago | 1 answer | 0

### 1

answerQuestion

exportgraphics r2020a issue

I am using exportgraphics command to export hihg quality images. exportgraphics(gcf,[filenames(1:end-4),'.tiff'], 'Resolution'...

1 year ago | 1 answer | 1

### 1

answerSolved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

1 year ago

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

1 year ago

Question

stream line _issue

When i plot the streamline using the code. I am unbale to get the stream lines for the complete field as shown in the figure. ...

1 year ago | 1 answer | 0

### 1

answerSolved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

1 year ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

1 year ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

1 year ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

1 year ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

1 year ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

1 year ago

Question

Plot 2D streamline_issue

I need a help to plot 2D streamline along with the contour plot. I am unable to plot the steamline properly(startx,stary). I a...

1 year ago | 1 answer | 0

### 1

answerQuestion

how to add a subscript in colour map labels

How to add a subscript to a text(Uo) in matlab 2020a. Please help me to write a subscript to colour map label. h.Label.String =...

1 year ago | 1 answer | 0

### 1

answerSolved

Calculate the centroid of a triangle

Info: https://en.wikipedia.org/wiki/Centroid Example Input: x = [0 0 1]; % x-coordinate y = [0 1 0]; % y-coordinat...

1 year ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

1 year ago

Question

plot 2D contours

I need help to plot 2D contours as shown in the figure for mutiple files. I am attaching my code and data files for your referen...

1 year ago | 1 answer | 0

### 1

answerSolved

Calculate Inner Product

Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

1 year ago

Question

Simple 2D contour plots

navg = 11; filenames = cell(navg,1); for i = 1:navg filenames = sprintf('queen2_test_%d.dat', i); mydata{i} = i...

1 year ago | 1 answer | 0

### 1

answerSolved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1 year ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

1 year ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

1 year ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

1 year ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

1 year ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

1 year ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

1 year ago