Community Profile

# Jason Firth

### Sandia National Laboratories

Last seen: 10 days ago Active since 2018

All

#### Content Feed

View by

Solved

Find matching parenthesis
One of the most indispensable things about a great text editor for programming is the ability to quickly jump between matching p...

2 years ago

Question

Acceleration measurement simscape mechanics
Does anyone know how to get an acceleration measurement from a simscape mechanical system? I see there is a rotational and trans...

4 years ago | 1 answer | 0

### 1

cell array mean clculation
Can you convert to a matrix? mean(cell2mat(ps),3)

4 years ago | 0

How do I create a structure in Simulink without MATLAB Function block?
You need to create a bus object. You can do this by calling myStruct = struct('field1',0,'field2',0); busInfo = Simulink.Bus....

4 years ago | 0

| accepted

Question

How do I save a Nichols plot?
Is there a way to save a nichols plot and preserve the data tip functionality? When I save a nichols plot as a .fig with multipl...

4 years ago | 0 answers | 0

### 0

Solved

Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

6 years ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

6 years ago

Question

What is the correct way to specify s-function output initial value?
I have an s-function implemented in c where I wish to specify the initial output of certain ports to non-zero values. I have bee...

6 years ago | 1 answer | 1

### 1

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

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

6 years ago