Solved


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

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

10 months ago

Solved


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

10 months ago

Solved


"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...

10 months ago

Answered
Finance program (New edit)
In the for loop, I think that you need to change delta_base(n) to D_Base(n) and delta_variabili_aleatorie(n) to D_Var(n). This ...

11 months ago | 0

Solved


middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

11 months ago

Solved


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

11 months ago

Solved


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

11 months ago

Solved


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

11 months ago

Answered
Display numeric value before function with using syms
You can include the unit when you define current: syms t; u=symunit; current = vpa(0.002*sin(10^3*t))*u.A; displayFormula("i...

11 months ago | 0

| accepted

Solved


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

12 months ago

Solved


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If p is the perimeter of a right angle triangle with integral length sides, { a, b, c }, there are exactly three solutions for p...

12 months ago

Answered
Please am looking for the license file path , i dont know where it is
See answer from Mathworks Support Team to a similar question: https://uk.mathworks.com/matlabcentral/answers/99147-where-can-i-...

12 months ago | 0

Answered
Python not recocgnising matlab.engine import
The error message is telling you that Python isn't able to locate the matlab package. It's difficult to know why this is withou...

12 months ago | 0

Answered
Old MCR version Installer or Workaround
For MATLAB/MCR versions before R2012a/7.17, the advice at: https://mathworks.com/products/compiler/matlab-runtime.html is: "Op...

12 months ago | 0

Solved


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vertices of ...

12 months ago

Answered
Unreadable operations when using symbolic functions
You can cast from symbolic values to numeric values, for example: syms z Gsymbolic = (5581285042669281*z^3)/9007199254740992 ....

12 months ago | 0

Solved


Find my daddy long leg (No 's')
Given the ratio of the two legs (longer / shorter), and the hypotenuse length, find the value of the bigger leg.

12 months ago

Solved


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

12 months ago

Solved


Get the elements of diagonal and antidiagonal for any m-by-n matrix
In the problem <http://www.mathworks.com/matlabcentral/cody/problems/858-permute-diagonal-and-antidiagonal Problem 858. Permute ...

12 months ago

Answered
source change in matlab online
The way that you're setting Desktop code font and Desktop text font looks right, but you don't see any effect because tools are ...

12 months ago | 0

Solved


Numerical Integration
Input * |x0|, a real number greater than 0 Output * |I|, a numerical estimate of the integral x0 / I...

12 months ago

Solved


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

12 months ago

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

12 months ago

Answered
Error using integral function with anonymous function
In your function call, you're passing T as a 6-element row vector and lambda as a 300-element row vector. Your function needs T...

12 months ago | 0

Answered
How can I get the license number of MATLAB 2023b?
See the accepted answer to a similar question: https://uk.mathworks.com/matlabcentral/answers/180390-how-do-i-find-my-matlab-li...

12 months ago | 1

Answered
I'm trying to sove this problem. Most of the code is given. Only the while loops must be done. I tried to do it but the calculations never ends.
You need to follow the suggestion given in the comment for the line: i_sineref = i_sineref ; % increment the "i_sinere...

12 months ago | 1

Solved


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

1 year ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

1 year ago

Solved


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

1 year ago

Load more