Community Profile

photo

Doddy Kastanya


Last seen: 4 giorni ago Active since 2017

I love math and physics. Being a nuclear engineer keeps this alive.

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Knowledgeable Level 2
  • Revival Level 1
  • Famous
  • Project Euler I
  • Leader
  • Curator
  • Cody Problems in Japanese Master
  • First Answer
  • Puzzler
  • Draw Letters
  • Introduction to MATLAB Master

View badges

Content Feed

View by

Solved


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

5 mesi ago

Solved


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 ]

10 mesi ago

Solved


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

11 mesi ago

Solved


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

oltre un anno ago

Solved


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

oltre un anno ago

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

oltre un anno ago | 0

| accepted

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

oltre un anno ago | 0

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

oltre un anno ago | 0

Solved


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

oltre un anno ago

Solved


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

oltre un anno ago

Solved


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

oltre un anno ago

Solved


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

oltre un anno ago

Solved


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.

oltre un anno ago

Solved


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

oltre un anno ago

Solved


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

oltre un anno ago

Solved


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

oltre un anno ago

Solved


Number Puzzle - 119

oltre un anno ago

Problem


Number Puzzle - 119

oltre un anno ago | 1 | 13 solvers

Solved


Number Puzzle - 118

oltre un anno ago

Problem


Number Puzzle - 118

oltre un anno ago | 1 | 12 solvers

Solved


Draw a '4' in a zero matrix!

oltre un anno ago

Solved


Draw a '6' in a zero matrix!

oltre un anno ago

Solved


Draw a '9' in a zero matrix!

oltre un anno ago

Solved


Draw a '7' in a zero matrix!

oltre un anno ago

Solved


Draw a '8' in a zero matrix!

oltre un anno ago

Solved


Draw a '5' in a zero matrix!

oltre un anno ago

Solved


Draw a '3' in a zero matrix!

oltre un anno ago

Solved


Draw a '1' in a zero matrix!

oltre un anno ago

Solved


Sum of series VIII

oltre un anno ago

Load more