Community Profile

# Rithik KRT

Last seen: 2 months ago Active since 2022

Programming Languages:
Python, C++, C, Java, R, MATLAB, Assembly
Spoken Languages:
English

All

#### Content Feed

View by

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

1 year ago

Solved

How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

1 year ago

Solved

Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

1 year ago

Solved

Row sum

1 year ago

Solved

Determine the length of a string of characters
Determine the length of a string of characters

1 year ago

Solved

Angular Velocity

1 year ago

Solved

square root
Find square root of given number

1 year ago

Solved

square of a number
find square of a given number

1 year ago

Solved

cube of number
find cube of number

1 year ago

Solved

Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

1 year ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

1 year ago

Solved

ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

1 year ago

Solved

ASCii Code
Using Matlab get the ASCii for '?'

1 year ago

Solved

Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

1 year ago

Solved

Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

1 year ago

Solved

Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

1 year ago

Solved

Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

1 year ago

Solved

Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

1 year ago

Solved

Counting down
Create a vector that counts from 450 to 200 in increments of 10.

1 year ago

Solved

Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

1 year ago

Solved

Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

1 year ago

Solved

Matlab Basics II - Operations and Matrix Dimensions
Write a function that takes two inputs, a & b, and outputs the sum and product of the two matrices. The matrices have OPPOSITE d...

1 year ago

Solved

Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

1 year ago

Solved

Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]

1 year ago

Solved

Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

1 year ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

1 year ago

Solved

Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

1 year ago

Solved

MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

1 year ago

Solved

give-nth-decimal-place-of-pi up to 100 digits
max 100th place after the decimal point this is upgrade problem of 142

1 year ago

Solved

Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

1 year ago