답변 있음
Formating a structs value
Something like this maybe: syms v1 v2 ; symbols = [v1;v2]; equations = [3/125 - v1/500 == v1*(0.0005 - 0.0001i) - 0.0005*v2 ...

3개월 전 | 0

| 수락됨

답변 있음
What is End of life and End of support for MATLAB version R2018a ?
Checkout the answer here. To quote the staff response "The end of life (EOL) for MATLAB releases depends on the date when Math...

4개월 전 | 0

답변 있음
How to change the parameter value at run time in Matlab Simulink
I think what you are looking for is the dashboard, link here. It provides an interactive interface with a running model.

4개월 전 | 0

답변 있음
How do determine the maximum and minimum point form origin on a contour graph
Not sure exactly what you want but contour function can give you interpolated x-y positions for a specific level. From there you...

4개월 전 | 0

| 수락됨

문제를 풀었습니다


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

4개월 전

문제를 풀었습니다


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

4개월 전

문제를 풀었습니다


Create a vector
Create a vector from 0 to n by intervals of 2.

4개월 전

문제를 풀었습니다


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

4개월 전

문제를 풀었습니다


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

4개월 전

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

4개월 전

문제를 풀었습니다


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

4개월 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

4개월 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4개월 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4개월 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4개월 전

답변 있음
how to learn mil,sil and hil tool testing in real time example
A good start is always mathworks website. Find the link in the answer here.

4개월 전 | 0

답변 있음
Couple ODE System not enough Input arguments, Why?
You should use @ symbol before the functions in your bvp4c call. Now you have another error, good luck solving it :D hint: what ...

4개월 전 | 1

답변 있음
How to draw the letter phi on matlab?
Here are bunch of greek characters and how you can put them in a string/character: sprintf('%c ', 910:1000) phi = sprintf('%c'...

4개월 전 | 0

답변 있음
Can I see code changes in the editor window?
You can right click the .m file on Matlab's 'Current Folder' view. There under the 'Source Control' you have options to 'Compare...

4개월 전 | 0

답변 있음
Could anyone tell me what it means in the code(xfer1(i) = xfer(5,1))?
So from the context, it seems like 'xfer' is the complex value of your transfer function at a particular 'w', it is a 5x5 matrix...

4개월 전 | 2

| 수락됨

문제를 풀었습니다


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

4개월 전

문제를 풀었습니다


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

4개월 전

문제를 풀었습니다


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

4개월 전

답변 있음
How to plot 3-D bode from the derived transfer function?
Here is one way: % undamped system where w defines the natural frequency and s is the % s-domain frequency grid variable sys ...

4개월 전 | 0

문제를 풀었습니다


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

4개월 전

문제를 풀었습니다


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

4개월 전

문제를 풀었습니다


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

4개월 전

문제를 풀었습니다


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

4개월 전

문제를 풀었습니다


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

4개월 전

문제를 풀었습니다


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

4개월 전

더 보기