답변 있음
How can i create .exe file from .m file?
hello, mcc -m mfilename helps in creating .exe file. you will need Matlab coder, check using 'ver' command if it is inst...

약 6년 전 | 1

| 수락됨

답변 있음
How to refer the figure name in matlab
hhello, hope this helps. it sets figure with h1 handle as current figure. set(groot,'CurrentFigure',h1);

약 6년 전 | 1

답변 있음
Getting color in a "timeseries plot"
hello, in that case you can use for loop, I tried to provide basic example.. for i=1:length(ts1) if ts1(i)<crit...

약 6년 전 | 0

| 수락됨

답변 있음
Getting color in a "timeseries plot"
hello, you can append 'r', 'g' .... plot(ts1,'.r') or plot(ts1,'.','Color',[0,0.2,0.8])

약 6년 전 | 0

답변 있음
converting decimal to double
hello, hope this helps <https://in.mathworks.com/matlabcentral/fileexchange/25326-ieee-754-binary-representation>

약 6년 전 | 1

| 수락됨

답변 있음
how can i insert or link an .m file containing parameter values to a simulink .slx file in R2015b as a subsystem
hello, you can use call back functions(present in model properties) or interpreted matlab function block

약 6년 전 | 0

| 수락됨

문제를 풀었습니다

Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

약 6년 전

문제를 풀었습니다

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

약 6년 전

문제를 풀었습니다

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

약 6년 전

문제를 풀었습니다

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

약 6년 전

답변 있음
Not able to use the PDE toolbox
hello, check if the toolbox is installed or not. use ver if you can find Partial Differential Equation Toolbox in t...

약 6년 전 | 0

답변 있음
How to divide a signal into two signals and put them in one array?
hi, hope this helps, (if mfcc is a column vector) len =length(mfcc); res =zeros(2,len/2); res(1,:)= mfcc(1:len/2);...

약 6년 전 | 0

문제를 풀었습니다

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

약 6년 전

답변 있음
Changing X-Axis to Hours
hi, You can use XTickLabel, for example set(gca,'XTickLabel',{'1:00AM','2:00AM','3:00AM','4:00AM','5:00AM','6:00AM'})

약 6년 전 | 2

| 수락됨

답변 있음
Error : Operands to the || and && operators must be convertible to logical scalar values.
hi, the output of < and > gives a vector since Sthochestic_Osilator is a vector. When using short circuit operators like '&&'...

약 6년 전 | 0

문제를 풀었습니다

Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

약 6년 전

문제를 풀었습니다

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

약 6년 전

문제를 풀었습니다

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

약 6년 전

문제를 풀었습니다

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

약 6년 전

문제를 풀었습니다

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

약 6년 전

답변 있음
how can i generate .xml file to my simulink model...........?
hi, you can use save_system() save_system('model.mdl', 'model_xml.xml','ExportToXML', true);

약 6년 전 | 2

| 수락됨

문제를 풀었습니다

Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

약 6년 전

문제를 풀었습니다

Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

약 6년 전

문제를 풀었습니다

Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

약 6년 전

문제를 풀었습니다

Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

약 6년 전

문제를 풀었습니다

Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

약 6년 전

문제를 풀었습니다

Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

약 6년 전

문제를 풀었습니다

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

약 6년 전

문제를 풀었습니다

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

약 6년 전

문제를 풀었습니다

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

약 6년 전