Problème


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

plus d'un an il y a | 0 | 31 solveurs

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


to the 2 all elements
to the 2 all elements

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Minkowski distance

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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.

plus d'un an il y a | 1

A soumis


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

environ 2 ans il y a | 137 téléchargements |

0.0 / 5
Thumbnail

Charger plus