**Statistics**

RANK**210**

of 257.558

REPUTATION**390**

CONTRIBUTIONS

**0** Questions

**130** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**70**

RANK**2.954** of 17.744

REPUTATION**501**

AVERAGE RATING**4.10**

CONTRIBUTIONS**2** Files

DOWNLOADS **9**

ALL TIME DOWNLOADS**4704**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How can I open importData tool?

I do not believe the Import Tool is available yet in MATLAB Online. Much of the functionality is available within the readt...

meer dan 4 jaar ago | 3

| accepted

Submitted

XMLNode

MATLAB class that allows you to use XPath to navigate and extract data from an XML document.

meer dan 5 jaar ago | 3 downloads |

Submitted

File I/O C S-function Example

A simple C S-function which reads data from a file during simulation.

meer dan 5 jaar ago | 6 downloads |

Spectrum Analyzer!! - How to access data/plots from a FFT scope real time

Simulink does allow you to access signal data from MATLAB during simulation via the use of runtime objects. Check out this doc ...

ongeveer 7 jaar ago | 0

| accepted

I'm not able to access my free training

To be able to log in to the _MATLAB Onramp_ course on MATLAB Academy, you must associate your MathWorks Account to your home lic...

meer dan 7 jaar ago | 0

Matlab Academy - Unable to login because the user has no entitled products

To be able to log in to the _MATLAB Onramp_ course on MATLAB Academy, you must have a MathWorks Account associated with a valid ...

meer dan 7 jaar ago | 1

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

meer dan 8 jaar ago

help using Xpath and XML reading

I may be misunderstanding things, but I think you may want to try doing something like this: dictExpr = xpath.compile('//di...

meer dan 9 jaar ago | 0

| accepted

how to count key presses in limited time?

Oh, you need timer objects and a key press function brah! Also, you gotta stop thinking in loops and start thinking in callback...

meer dan 9 jaar ago | 0

| accepted

How to change values in XML file?

Working with XML can definitely be tricky! Fortunately, these kinds of things are pretty well documented... <http://www.w3sc...

meer dan 9 jaar ago | 0

| accepted

Need to create a 3 dimensional matrix of subjects, block numbers and 6 sub condition values within each block.

Is there a reason you want to store things in a 3-dimensional array? Seems you might be better off, at least at first, keeping ...

bijna 10 jaar ago | 0

| accepted

Solved

Roll the Dice!

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

bijna 10 jaar ago

Solved

More luck than brains

Give a random function that guess and return numbers from 1 to 6 exactly like the test suite .

bijna 10 jaar ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

bijna 10 jaar ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

bijna 10 jaar 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 ...

bijna 10 jaar 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...

bijna 10 jaar ago

Solved

Swap the input arguments

Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

ongeveer 10 jaar ago

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

ongeveer 10 jaar ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

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

ongeveer 10 jaar 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. Example...

ongeveer 10 jaar ago

Object composition and property updating

I think the way that I would do this is to set the actual properties to be private properties (SetAccess=private,GetAccess=...

ongeveer 10 jaar ago | 0

How to store and print comments from a script

Hmm... helpText = help('yourMATLABFileName') Also, you may then want to split each line into a separate string line...

ongeveer 10 jaar ago | 0

| accepted

Need to make a 4D plot (3D + Colour)

I'm curious how slice doesn't fit your needs. I'm no data visualization expert so please take this as an honest "I'd like to kn...

ongeveer 10 jaar ago | 1

Solved

Check if sorted

Check if sorted. Example: Input x = [1 2 0] Output y is 0

ongeveer 10 jaar ago

Usint integration to calculate the cylinder/rotary actuator flow rate instead of the derivative block

I assume you are using SimHydraulics, correct? Perhaps I am misunderstanding the question, but shouldn't you be able to use a...

ongeveer 10 jaar ago | 1

Too many input arguments?

When I did stuff like this, I always just created a wrapper function that does the parameter passing. That would be replacing...

ongeveer 10 jaar ago | 0

LTI data extraction

I believe you can use the bode function for that... [mag,phase,freqs] = bode(lin) Also, if you are comparing two systems...

ongeveer 10 jaar ago | 0

| accepted

How to form this diagonal matrix?

m = 4; M = 1:m; diagVals = exp(j*2*pi*(M-1./M)) E = diag(diagVals) Is that right?

ongeveer 10 jaar ago | 0

| accepted