photo

Sidhi


Last seen: 4 días hace Con actividad desde 2024

Followers: 0   Following: 0

Estadística

All
  • Solver
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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.

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

4 meses hace

Resuelto


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

4 meses hace

Resuelto


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

4 meses hace

Resuelto


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

4 meses hace

Resuelto


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

4 meses hace

Pregunta


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

4 meses hace | 2 respuestas | 1

2

respuestas