Problem


Sum of Even Fibonacci Numbers
Description: The Fibonacci sequence is defined as follows:F(1)=1,F(2)=1,F(n)=F(n−1)+F(n−2) for n>2 Write a function that compu...

1 year ago | 0 | 28 solvers

Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

1 year ago

Solved


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

1 year ago

Solved


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

1 year ago

Solved


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

1 year ago

Solved


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

1 year ago

Solved


Spherical Volume
Calculate the volume of a sphere.

1 year ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

1 year ago

Solved


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

1 year ago

Solved


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

1 year ago

Solved


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

1 year ago

Solved


Converts numbers into characters
Converts numbers into characters

1 year ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

1 year ago

Solved


Double all elements in the array
Duplicate all elements in the array

1 year ago

Solved


Find the max element of the array
Find the max element of the array

1 year ago

Solved


to the 2 all elements
to the 2 all elements

1 year ago

Solved


calculate the length of matrix
input 1 array, calculate the length

1 year ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

1 year ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

1 year ago

Solved


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

1 year ago

Solved


Minkowski distance

1 year ago

Solved


Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...

1 year ago

Solved


Convert binary numbers array into array of decimal numbers.
Convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ; 11001011 ; 11001100 ;...

1 year ago

Solved


Binary Coder
Take an input number and print the binary value of this number.

1 year ago

Answered
xdc_focus_times for 2D array transducer in Field2
To set delays for a 2D transducer array in Field II, calculate the delays for each element and use xdc_focus() to apply the focu...

1 year ago | 0

Answered
How to measure the time an entity is in a system? (simulink)
To calculate the time an entity spends in the system and get the average time at the end of the simulation: Add an "Event-Based...

1 year ago | 0

Answered
Simulink Initial Conditions error
To fix the issue, replace the Battery block with a DC Voltage Source and re-run the simulation. The Battery block may be introdu...

1 year ago | 0

Answered
simulink question when do cord action.
The error you are encountering, "Code generation information file does not exist," is common when there are issues with the Simu...

1 year ago | 0

Answered
I am unable to find the battery builder app from SIMSCAPE BATTERY TRAINING
I am using online MATLAB. How to find the Battery Bulider. Tell me the Procedure. Please.

1 year ago | 0

Submitted


Three Phase Unbalanced Delta connected load using Simulink
Three Phase Unbalanced Delta connected load using Simulink

2 years ago | 1 download |

0.0 / 5
Thumbnail

Load more