已解决


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

10 months 前

已解决


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 前

已解决


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

10 months 前

已解决


"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 前

已回答
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 ...

10 months 前 | 0

已解决


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

10 months 前

已解决


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

10 months 前

已解决


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

10 months 前

已解决


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 前

已回答
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 前 | 0

| 已接受

已解决


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

11 months 前

已解决


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

11 months 前

已回答
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-...

11 months 前 | 0

已回答
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...

11 months 前 | 0

已回答
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...

11 months 前 | 0

已解决


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

11 months 前

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

11 months 前 | 0

已解决


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.

11 months 前

已解决


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

11 months 前

已解决


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

11 months 前

已回答
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 ...

11 months 前 | 0

已解决


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

12 months 前

已解决


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 前

已解决


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 前

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 1

已解决


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

12 months 前

已解决


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

12 months 前

已解决


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 前

加载更多