Community Profile

# MS

Last seen: 6 mesi fa Attivo dal 2020

All

#### Content Feed

Visto da

Domanda

how to plot contour ?
How to do the below mentioned process in the loop and save contour. Please share your knowledge. Attached data for your referenc...

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

how to split 6x4 double based on first columns values into three [2X4]?
4 1 2 3 4 5 6 7 5 1 2 3 5 4 5 6 ====>> [4 1 2 3 [ 5 1 2 3 [6 1 2 3 5 4 5 6 5 4 5 6 4 5 6 7] 5 4 5 ...

10 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

Index exceeds the number of array elements.
Please let me know a solution for the error. Data attached here. Index exceeds the number of array elements. Index must not e...

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Error using matlab.graphics.axis.Axes/set
Do not know the remedy for the below mentioned error. Error using matlab.graphics.axis.Axes/set Value must be a 1x2 vector of...

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 2 risposte | 0

### 2

risposte

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

circa 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 3 anni fa | 1 risposta | 1

### 1

risposta

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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

oltre 3 anni fa

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Risolto

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]

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

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

oltre 3 anni fa

Risolto

Inner product of two vectors
Find the inner product of two vectors.

oltre 3 anni fa

Risolto

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

oltre 3 anni fa