Doddy Kastanya
I love math and physics. Being a nuclear engineer keeps this alive.
Statistiche
RANK
2.381
of 277.689
REPUTAZIONE
20
CONTRIBUTI
0 Domande
19 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Content Feed
Risolto
Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...
5 mesi fa
Risolto
Triangle Coordinates
Given a natural number n, return two -element vectors, x and y, containing the coordinates of a triangular arrangement of points...
5 mesi fa
Risolto
Predict Cricket Stridulation Rate from Air Temperature
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...
7 mesi fa
Risolto
Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...
7 mesi fa
Risolto
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
circa un anno fa
Risolto
Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]
oltre un anno fa
Risolto
Easy Sequences 2: Trigonometric function with integral input and output
The function 'F', defined as: , will always return an integer if the input is a natural number (in radian...
oltre un anno fa
Risolto
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
circa 2 anni fa
Risolto
the fly, the train, the second train, and their Zeno's paradox
*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...
circa 2 anni fa
Filling missing points in a grid
You could try to add the following at the end of your code: hold on text(7,8,'X','color','r') If there are other points, then...
circa 2 anni fa | 0
| accettato
Need Help Coding a Gaussian Problem
You might not be using the correct data for this. For example, in your implementation x_i and x_j are simply numbers. Shouldn't ...
circa 2 anni fa | 0
How can I find the median of each row in a matrix?
Try this (assuming that your matrix is called A): for i=1:150 x=sort(A(i,:)); median_value(i)=0.5*(x(2)+x(3)); end You will...
circa 2 anni fa | 0
Risolto
Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm
circa 2 anni fa
Risolto
Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...
circa 2 anni fa
Risolto
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
circa 2 anni fa
Risolto
Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...
circa 2 anni fa
Risolto
determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.
circa 2 anni fa
Risolto
Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10
circa 2 anni fa
Risolto
Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...
circa 2 anni fa