Community Profile

# Sunil Kumar Giri

### National Institute of Technology, Tiruchirappalli

106 total contributions since 2019

Control Engineer by Profession, Aerospace & MATLAB enthusiast by hobby.

View details...

Contributions in
View by

Question

How to split Simulink.SimulationOutput into its constituent entities
Hello, I am using a variable named ‘simout’ of type Simulink.SimulationOutput which captures all the output variables (using...

14 Tage ago | 0 answers | 0

### 0

Question

How to save the output variables of a MATLAB Script run in App Designer using evalin function into base workspace?
Hello MATLAB Enthusiasts, I want to run a MATLAB Script say 'untitled.m' using inbuilt MATLAB function evalin from MATLAB App...

3 Monate ago | 1 answer | 0

### 1

Question

How can I bring in the MATLAB App Designer's Workspace variables back into Base Workspace?
Hello MATLAB Enthusiasts, I have made an APP using MATLAB App Designer which does the following operations sequentially as fo...

3 Monate ago | 0 answers | 0

### 0

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 Monate ago

Solved

Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

5 Monate ago

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

5 Monate ago

Solved

Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

5 Monate ago

Question

How to find the difference in Amplitude peaks and Phase delays in two up Chirp signals
Hi All, Chirp Signal: A chirp is a signal in which the frequency increases (up-chirp) or decreases (down-chirp) with time. I...

8 Monate ago | 0 answers | 0

### 0

Solved

Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

11 Monate ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

11 Monate ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

11 Monate ago

Swap the first and last columns
function B = swap_ends(A) B = A; A(:,1) = A(:,end); A(:,end) = B(:,1); B = A end

11 Monate ago | 0

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

11 Monate ago

Solved

y equals x divided by 2
function y = x/2

mehr als ein Jahr ago

Solved

Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

mehr als ein Jahr ago

Solved

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

mehr als ein Jahr ago

Solved

Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

mehr als ein Jahr ago

Solved

Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

mehr als ein Jahr ago

Solved

Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

mehr als ein Jahr ago

Solved

02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

mehr als ein Jahr ago

Solved

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

mehr als ein Jahr ago

Solved

only input
Return the output without writing any code into the function.

mehr als ein Jahr ago

Solved

Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

mehr als ein Jahr ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

mehr als ein Jahr ago

Solved

03 - Matrix Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3a.png>> A 9x9 matrix full of 2's (Hint: use *ones* o...

mehr als ein Jahr ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

mehr als ein Jahr ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

mehr als ein Jahr ago

Solved

Calculate square and cube of number
Calculate square and cube of number x

mehr als ein Jahr ago

Solved

03 - Matrix Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3d.png>> A 3x4 NaN (Not a Number) matrix (Hint: use ...

mehr als ein Jahr ago

Solved

07 - Common functions and indexing 1
Define _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 to 100 runs ...

mehr als ein Jahr ago