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

mehr als ein Jahr vor | 0 | 30 Lösungsvorschläge

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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.

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Converts numbers into characters
Converts numbers into characters

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


to the 2 all elements
to the 2 all elements

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Minkowski distance

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 1

Gesendet


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

etwa 2 Jahre vor | 136 Downloads |

0.0 / 5
Thumbnail

Mehr laden