Community Profile

Contact

Top 1% contributor

38 downloads

1 year ago

11 views

0

Ranking of Cracco Peck Restaurant

If you are working with normalized units you should use position values between 0 and 1 to set the position. The following co...

accepted

2

Answered 5 years ago

Hi Ross, it depends on the type of analyses you need to do. If you are not expert working directly with cell array using comm...

1

Answered 3 years ago

Hi, as Mariano was suggesting you may consider using an optimization algorithm and run the Simulink model in your objective f...

The HOLD command should work: <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/hold.html> t = 0:.01:2*pi; p...

You should use the element by element power elevation ".^". Without the "dot" you are trying to do the power of a matrix and thi...

The syntax: x=[.1:.1:.9] is creating a vector incrementally and due to Floating Point arithmetic approximation the obtai...

You can use vector operations on the vector n with elements from 1 to 100: x = (-1.^n + 1/2*n -1); to create the x vecto...

If you prefer to use an *interactive* approach you can double click on the Excel file from the Current Folder browser and intera...

Answered 9 months ago

Why are you asking two (x,y) values for a line and then also the intercept? Given two points you are able to calculate both m an...

Hi, This is a possible approach: files = dir('*.mat'); for i = 1:length(files) datefolder = files(i).name(14:1...

Not sure that I've fully understood your goal. From what I've got you may try to use the EVAL function to evaluate your string. ...

You are trying to concatenate a vector (your text) with a matrix. The dimensions are not consistent. You can use the CHAR functi...

If you are expecting a command line input you can use the INPUT command: <http://www.mathworks.com/access/helpdesk/help/techd...

You can also create your PID (discrete) block on your own based on the difference equations. y(k) = yp(k) + yi(k) + yd(k) ...

From Workspace block should have a first column representing time and then your data columns. This should work fine: data ...

The MATLAB function block is not able to create a bus. We strongly suggest the use of the Embedded MATLAB function that allo...

If I'm correctly understanding your question you would like to extract some digits from a number. The mathematical approach ...

If your need is to place the single digits to create a bigger number if you would like to avoid passing through string conversio...

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

Solve this!

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

_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

3 years ago

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

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

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Load more