photo

Sidhi


Last seen: Today Active since 2024

Followers: 1   Following: 1

Statistics

All
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

3 maanden ago

Solved


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

5 maanden ago

Solved


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

5 maanden ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

5 maanden ago

Solved


Return area of square
Side of square=input=a Area=output=b

5 maanden ago

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

5 maanden ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 maanden ago

Solved


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

5 maanden ago

Solved


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...

6 maanden ago

Solved


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

6 maanden ago

Solved


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

6 maanden ago

Solved


Determine the square root
Determine the square root of the value the user has entered, n.

6 maanden ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

6 maanden ago

Question


Is it possible to load the input data from base workspace to the inports in the simulink model without enabling the external input in configuration parameters?
When working with Simulink models, it is often necessary to input data from external sources for simulation purposes. Typically,...

7 maanden ago | 2 answers | 1

2

answers