Community Profile

# Shekhar Vats

Last seen: mer än ett år ago Active since 2019

All

#### Content Feed

View by

Question

Aligning 2 Signals as a function of third signal
I have two signals which are from the same data, at same data logging frequency, source and need to be aligned. Say Temperature ...

mer än ett år ago | 1 answer | 0

### 1

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

nästan 3 år ago | 0

Why does my <= statement not work?
Can you please say more about your issue ? It's working as expected for me.

nästan 3 år 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 ...

nästan 3 år ago | 1 answer | 0

### 1

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

ungefär 3 år 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...

mer än 3 år 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...

mer än 3 år 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.

mer än 3 år 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...

mer än 3 år 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....

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år ago

Solved

Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år ago

Solved

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

mer än 3 år 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...

mer än 3 år 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 ...

mer än 3 år ago | 2 answers | 0