已解决

Sums of cubes and squares of sums

Given the positive integers 1:n, can you: 1. Compute twice the sum of the cubes of those numbers. 2. Subtract the square...

8 months 前

已解决

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

8 months 前

已解决

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

8 months 前

已解决

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 months 前

已提交

Lambert_W

% Lambert_W Lambert's W function. % W = lambertw(Z) solves W*exp(W) = Z. % W = lambertw(K,Z) is the K-th branch of this mu...

8 months 前 | 3 次下载 |

已回答

Numerical Laplace inversion with fmincon

I am sorry, I didnt see the problem early. This is the complete code clear all; close all; clc; Data = ... [1 0.003322259 ...

Numerical Laplace inversion with fmincon

I am sorry, I didnt see the problem early. This is the complete code clear all; close all; clc; Data = ... [1 0.003322259 ...

9 months 前 | 0

| 已接受

已提交

AnimateNewtonRaphson

This file solves a univariate equation using newton raphson's method and makes gif file for you to visualize the process.

1 year 前 | 1 次下载 |

已提交

Simulation of floating balls on water

This file describes how to simulate floating balls on water

1 year 前 | 1 次下载 |

已提交

Tube Function

This function is the numerical analogy to the tube function in maple

1 year 前 | 2 次下载 |

已提交

Animate

This program animates the transformation of one graphic object to another.

3 years 前 | 2 次下载 |

已提交

fitVirusCV19varW (Variable weight fitting of SIR Model)

Estimation of coronavirus COVID-19 epidemic evaluation by the SIR model, Code receives and plots most recent data from HDX.

3 years 前 | 1 次下载 |

已提交

VecNorm

It computes vecnorm for those using matlab version earlier than 2017b

3 years 前 | 12 次下载 |

已提交

SIRModelSimulation

% This file simulates SIR model for the spread of infectious diseases

3 years 前 | 2 次下载 |

已提交

SolveTrusses

% This file explains how to use the program SolveTrusses and displays the % force in each member on them.

3 years 前 | 1 次下载 |

已回答

How to set outside a country values to NaN, in a 3d array (lat x lon x time) ?

The best solution is to use google map to get latitudes and logitudes of vertices of a polygon representing the external boundar...

How to set outside a country values to NaN, in a 3d array (lat x lon x time) ?

The best solution is to use google map to get latitudes and logitudes of vertices of a polygon representing the external boundar...

3 years 前 | 1

已提交

PolarPlot.m

This script creates a polar plot for those using versions of matlab thats earlier than 2016a

3 years 前 | 2 次下载 |

已提交

Solve ordinary differential equations with events

This script solves an ordinary differential equation with events.

3 years 前 | 1 次下载 |

已提交

Deflection of Statically Indeterminate Beams

This program computes the deflection and slope of a laterally loaded statically indeterminate beams.

3 years 前 | 2 次下载 |

已提交

Kelvins functions

functions compute kelvink (Ker and Kei) and kelvinb(ber and bei)

5 years 前 | 2 次下载 |

已解决

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years 前

已解决

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

5 years 前

已提交

RK45(dydt, trange, yinit, tol)

RK45 is like matlab's ode45. its can be used on octave as it comes without ode solver.

5 years 前 | 4 次下载 |