# MS

**Statistics**

RANK**31,057**

of 271,598

REPUTATION**1**

CONTRIBUTIONS

**14** Questions

**5** Answers

ANSWER ACCEPTANCE **
85.71%
**

VOTES RECEIVED**1**

RANK

of 18,318

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

is it possible to add/paint multiple colors(more than 100 up to 10000) to an RGBA image in MATLAB?

i need help with changing the colors of an attached RGBA image randomly or cutomized manner (atelast red, orange, yellow, green,...

9 months ago | 1 answer | 0

### 1

answerQuestion

How can I stack images from multiple folders?

I got three images in three diffrent folders attached(1, Background. 2,Body 3, Expressions). I help stacking the images togeth...

9 months ago | 2 answers | 0

### 2

answersQuestion

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) ...

2 years 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...

2 years 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'...

2 years 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...

2 years 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...

2 years 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. ...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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...

2 years 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 =...

2 years 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...

2 years 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...

2 years 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...

2 years 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|...

2 years 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...

2 years 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]

2 years 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...

2 years 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....

2 years ago

Solved

Whether the input is vector?

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

2 years 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 ...

2 years 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 ...

2 years ago