A résolu


Juggling
There is a notation system for <http://en.wikipedia.org/wiki/Juggling jugglers> called <http://en.wikipedia.org/wiki/Siteswap si...

environ 6 ans il y a

A résolu


Bernoulli's Equation
Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + ...

environ 6 ans il y a

A résolu


What gear ratio does the cyclist need?
A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...

environ 6 ans il y a

A résolu


Mechanical Advantage of a Gear Train
Calculate the mechanical advantage of a gear train. The mechanical advantage of a gear couple is given by MA = T_o/T_i where ...

environ 6 ans il y a

A résolu


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

environ 6 ans il y a

A résolu


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

environ 6 ans il y a

A résolu


Bouncing disk
A disk is placed in a rectangular room with dimensions a and b in a point with coordinates x0 and y0. The disk is given a startu...

environ 6 ans il y a

A résolu


jogging?
Imagine x-y coordinate system and you are at the origin and your partner is on the x-axis at some small distance (d) away from y...

environ 6 ans il y a

Réponse apportée
How do I solve system of equations?
If I understand you correctly, your system consist of 128 eqations. a and b are arrays of 64 unknowns each. You must then solv...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Join repeated continuous elements of a vector
in = [1 1 1 2 2 3 6 6 6 1 1 1 4 4 4 2 2 2 6 4 4]; i = 1; count = 1; out = []; a = in(1); while i < length(in) i = i+1; ...

environ 6 ans il y a | 0

A résolu


Mechanics 1
I thought I would make a mechanics problem for all those physics lovers out there. Imagine two solid, rigid spheres B1 and B...

environ 6 ans il y a

A résolu


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

environ 6 ans il y a

A résolu


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

environ 6 ans il y a

A résolu


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

environ 6 ans il y a

Réponse apportée
Fsolve don't work good with trigonometric
Your function has several different zeros. Which one fsolve finds will depend on the starting point. I ran: f = 100; while no...

environ 6 ans il y a | 0

A soumis


polyfix(x,y,n,xfix,yfix,xder,dydx)
Fit polynomial p to data, but match exactly at one or more points

environ 6 ans il y a | 5 téléchargements |

5.0 / 5
Thumbnail

Question


Help text does not work for user-defined functions
I just installed R2019b and the help function does not work. Example: I created the addme function from the Add Help for Your P...

environ 6 ans il y a | 2 réponses | 2

2

réponses

Question


Is there a way to avoid repeating time-consuming calculations from odefun in the events function?
The right-hand side in my ODE is quite time-consuming. In the course of calculating dy/dt I calculate a variable u that I also u...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
First order ODE parameter fit to dataset
The challenge is how to use your table of temperatures in your updateStates function. At a given time t, you must interpolate y...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to calculate a curve for different variables?
Here is one way to do it. I have reduced the number of elements in your Time and V vectors in order to make a nicer surface plo...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
datetime default stetings 12/24
Use HH instead of hh for the hours: >> datetime.setDefaultFormats('default','hh:mm:ss yyyy-MM-dd') >> t = datetime(2019,8,10,...

plus de 6 ans il y a | 8

| A accepté

Réponse apportée
How to read a file containing non numerical characters and commas?
The 22 lines of text are easily dealt with using the 'HeaderLines' option. Next you must convert your strings to doubles. Below...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Cell Array Dynamic Size
If you are happy with storing the data as a matrix for each sheet : filename = 'Q.xlsx'; n_sheets = 2; DP = cell(1,n_sheets);...

plus de 6 ans il y a | 0

| A accepté

A résolu


Fill the matrix - 1
Input is a column vector and n. n columns will be added to the left of the input column. The first value of the row is the s...

plus de 6 ans il y a

Réponse apportée
I have IgorTime data in which time:units = "seconds since 1904-01-01". I would like to convert this seconds to datevc.
First: Are you sure your T vector is in seconds? If so, your time list covers about 48 milliseconds around 01-Jan-1904 11:41:29....

plus de 6 ans il y a | 1

A résolu


Find the Final State of an Abelian Sandpile
Let us define an <http://nautil.us/issue/23/dominoes/the-amazing-autotuning-sandpile Abelian sand pile> as a matrix that is only...

plus de 6 ans il y a

A résolu


Data Regularization
Provided is an m-by-n integer data matrix A whose elements are drawn arbitrarily from a set *S* = [1,2,3,...,S] for any large in...

plus de 6 ans il y a

A résolu


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

plus de 6 ans il y a

Réponse apportée
How to add headers to Excel.
filename = 'testdata.xlsx'; header = {'name', 'Age'}; A = [12.7;5.02;-98;63.9;0;-.2;56]; B= [12.7;5.02;-98;63.9;0;-.2;56]; c...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Plot multivariable function,can't get the plot right ?
The main problem with your plot is simply that the large values of f for y > 0.5 dwarf the variations at lower values. Changing...

presque 7 ans il y a | 1

| A accepté

Charger plus