Gelöst


to the 2 all elements
to the 2 all elements

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


Draw a '0' in a one matrix!

12 Monate vor

Gelöst


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

12 Monate vor

Gelöst


Sum of series VIII

12 Monate vor

Gelöst


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

12 Monate vor

Gelöst


Total energy

12 Monate vor

Gelöst


Potential energy calculation

12 Monate vor

Gelöst


Kinetic energy calculation

12 Monate vor

Gelöst


Laws of motion 1

12 Monate vor

Gelöst


Laws of motion 2

12 Monate vor

Gelöst


Laws of motion 3

12 Monate vor

Gelöst


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

12 Monate vor

Gelöst


Laws of motion 5

12 Monate vor

Gelöst


Laws of motion 6

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


Plot Line Specifications
Create a line plot for function cos(x) where x is a vector of linearly spaced values going from 0 to input N with an increment o...

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

12 Monate vor

Gelöst


Make a Plot with Functions
Make a plot and test

12 Monate vor

Gelöst


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

12 Monate vor

Gelöst


Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

12 Monate vor

Gelöst


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

12 Monate vor

Gelöst


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

12 Monate vor

Gelöst


Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

12 Monate vor

Gelöst


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

12 Monate vor

Mehr laden