Solved

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

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

4 Monate ago

How to input two signals to one transfer function?
I would suggest to create a state space system for the slider and then convert it to transfer function model. While defining s...

5 Monate ago | 0

How can one accomplish a H∞ tuning of fixed-structure controllers using the command "hinfstruct" for a DISCRETE system.
It is because of MATLAB version. For 2015b, The documentation page for hinfstruct is: https://www.mathworks.com/help/release...

5 Monate ago | 0

| accepted

Solved

area

6 Monate ago

Solved

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

6 Monate ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

6 Monate ago

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

6 Monate ago

Solved

Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

6 Monate ago

Solved

Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

6 Monate ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

6 Monate ago

Solved

python

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

6 Monate ago

Solved

reverse string
input='rama' output='amar'

6 Monate ago

Solved

CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

6 Monate ago

Solved

Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

6 Monate ago

Solved

Knights and Knaves (part 1)
This is a Matlab adaptation of the <http://en.wikipedia.org/wiki/Knights_and_Knaves Knights and Knaves> logical puzzles. You ...

6 Monate ago

Solved

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

6 Monate ago

Solved

Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

6 Monate ago

Solved

Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

6 Monate ago

Solved

microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...

6 Monate ago

Time axis as x axis
When you do plot(signal) Matlab plots the signal values for each data point. But if your x-axis do not vary in the steps of ...

7 Monate ago | 0

How can I import my graph as a signal to Simulink?
Lookup table is what you need. Below is a link for a video on lookup tables: https://www.youtube.com/watch?v=HmfwKoFHrO4

7 Monate ago | 1

Back-calculating a variable in equation to give a value of zero
k = 1; % outside the loop % inside the loop F(k) = ... %rest remains unchanged k = k+1;

7 Monate ago | 0

| accepted

V2X simulation in Matlab

7 Monate ago | 0

Solved

Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

7 Monate ago

Solved

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

7 Monate ago

Solved

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

7 Monate ago

Solved

Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

7 Monate ago

Solved

Perfect square.
Determine if the input is a perfect square or not. Example - If input is 25, return 1. If input is 17, return 0.

7 Monate ago