Solved


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

1 year ago

Solved


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

1 year ago

Solved


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

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

1 year ago

Solved


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

1 year 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) ...]...

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

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

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

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

1 year 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

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

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

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

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

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

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

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

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

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

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

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

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

1 year ago | 0

Solved


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

1 year 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/...

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

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

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

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

1 year 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

Load more