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

7 years ago | 1

| accepted

Answered
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);

7 years ago | 1

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

7 years ago | 0

| accepted

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

7 years ago | 0

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

7 years ago | 1

| accepted

Answered
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

7 years ago | 0

| accepted

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

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

7 years ago | 0

Answered
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);...

7 years ago | 0

Solved


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

7 years ago

Answered
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'})

7 years ago | 2

| accepted

Answered
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 '&&'...

7 years ago | 0

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Answered
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);

7 years ago | 2

| accepted

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Load more