Problema


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

oltre un anno fa | 0 | 29 risolutori

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Converts numbers into characters
Converts numbers into characters

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


to the 2 all elements
to the 2 all elements

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


Minkowski distance

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

Inviato


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

circa 2 anni fa | 2 download |

0.0 / 5
Thumbnail

Carica altro