Community Profile

# Shekhar Vats

##### Last seen: 3 days ago
21 total contributions since 2019

View details...

Contributions in
View by

I want to change a plot to a bar graph
Share your data here so that it's easier to check var1 = rand(3006,1); var2 = rand(3006,1); % test variables figure; ax(...

4 months ago | 0

Why does my <= statement not work?

4 months ago | 0

Question

How to find similar indices in two vector
I have a data set where one vector, say 'A' is a subset of vector 'B'. For example vector B = [x,y ,z, A,c , d] Is there a way ...

4 months ago | 1 answer | 0

### 1

Another query is what am I doing wrong in this program to calculate moving average?

8 months ago | 0

Solved

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

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

10 months ago

how to get matlab 2019b
Matlab 2019 a was released in march 2019, based off historical releases 2019 b will be released by mid of September 2019.

11 months ago | 0

Solved

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

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

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

11 months ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

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

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

11 months ago

Solved

Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

11 months ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

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

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

11 months ago

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

11 months ago

Solved

Given a and b, return the sum a+b in c.

11 months ago

How to post process each variable in a mat file ?
% Downsampling a given 'X' hz file to a input 'Y'hz file %This script will load the file in a structure and append _YHz % at...

11 months ago | 0

Question

How to post process each variable in a mat file ?
I am trying to downsample all the variables in a mat file. I can use downsample(var, newSampling) to downsample an individual ...

11 months ago | 2 answers | 0