Resuelto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

más de 10 años hace

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 10 años hace

Resuelto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

más de 10 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 10 años hace

Resuelto


Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique *undirected* cycles. For example, the graph represented by...

más de 10 años hace

Resuelto


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A = [1 2 3 4 5 6 ...

más de 10 años hace

Respondida
Plot grid data with lat and lon
This may give you what you want: lat = -89.5:0.5:90; lon = 0:359; data = sin(lat/180*pi)'*sin(lon/360*pi); % sample 360 ...

más de 10 años hace | 1

| aceptada

Resuelto


Distance a ball travels after throwing vertically
Calculate the total distance *'d'* (in meters) a ball would travel after *'s'* seconds and starting velocity of *'v'* (in m/s). ...

más de 10 años hace

Respondida
How do I constrain a fitted curve through specific points like the origin in MATLAB?
The function polyfix that I just submitted may be what you are looking for.

más de 10 años hace | 9