A résolu


Find all prime factors of the input
Given an input x, find its all prime factors. Return the vector with all factors in ascending order. Efficiency is the key here...

plus de 3 ans il y a

A résolu


Find distance travelled by an object starting from rest in time 't' and linear acceleration 'a' = 3t
Find distance travelled by an object starting from rest in time 't' with linear acceleration a = 3t. You are given time t as an ...

plus de 3 ans il y a

A résolu


Mean Square Error

plus de 3 ans il y a

A résolu


Find Min and Max Differences in a Vector
Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array....

plus de 3 ans il y a

A résolu


Jack O'Lantern
If visualized correctly, the data contained in the matrix A will look like a jack-o'-lantern. Create a function that will visu...

plus de 3 ans il y a

A résolu


Adding Inset Plots
You can use the axes function to define the position of an empty x/y axis. The position is measured relative the the bottom left...

plus de 3 ans il y a

A résolu


3D Plots and Colorbars
Use the matrices X, Y, and Z provided in the function template to create a surface plot. Add a colorbar to the surface plot and ...

plus de 3 ans il y a

A résolu


Reproduce this plot!
Write a function that will take a dataset (x,y), a best fit model (model), and the upper and lower prediction bounds (lb,ub) for...

plus de 3 ans il y a

A résolu


Count the peaceful queens
In a 5x5 chessboard with a queen of one color (white, say) on the perimeter, one can place 12 black queens on the board such tha...

plus de 3 ans il y a

A résolu


Power Outages Histogram
Create a function that takes power outage data as an input and creates a histogram of the number of outages as a function of Reg...

plus de 3 ans il y a

A résolu


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

plus de 3 ans il y a

A résolu


Evaluate the zeta function for complex arguments
<https://www.mathworks.com/matlabcentral/cody/problems/45988 Cody Problem 45988> involved computing the Riemann zeta function fo...

plus de 3 ans il y a

A résolu


Define an arithmetic sequence
Given three numbers n, a, and d, define an arithmetic sequence of n terms with a being the initial term of the sequence and d be...

plus de 3 ans il y a

A résolu


Find the slope of a line that passes through two vectors
Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...

plus de 3 ans il y a

A résolu


Find the summation, mean, median, mode and standard deviation of a given array.
An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

plus de 3 ans il y a

A résolu


Splitting Circle
Consider a circle which has been divided into three concentric circles as depicted in the figure below The ratio betwen the a...

plus de 3 ans il y a

A résolu


Splitting Hexagon - Problem the third

plus de 3 ans il y a

A résolu


Splitting Hexagon - Problem the second

plus de 3 ans il y a

A résolu


Splitting Hexagon - Problem the first

plus de 3 ans il y a

A résolu


Splitting Triangle - Problem the third

plus de 3 ans il y a

A résolu


Splitting Triangle - Problem the second

plus de 3 ans il y a

A résolu


Splitting Triangle - Problem the first

plus de 3 ans il y a

A résolu


Splitting Square - Problem the third

plus de 3 ans il y a

A résolu


Splitting Square - Problem the second

plus de 3 ans il y a

A résolu


Splitting Square - Problem the first

plus de 3 ans il y a

A résolu


Matrix Pattern 10

plus de 3 ans il y a

A résolu


Matrix Pattern 9

plus de 3 ans il y a

A résolu


Matrix Pattern 8

plus de 3 ans il y a

A résolu


Matrix Pattern 7

plus de 3 ans il y a

A résolu


Matrix Pattern 6

plus de 3 ans il y a

Charger plus