photo

Chuck Walker


Last seen: 6 månader ago Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Is there a command line option for setting the image format for a Figure Snapshot component in MATLAB Report Generator?
I have a report file with several image snapshot components. I'd like to be able to generate HTML or RTF output from it. It wo...

mer än 7 år ago | 1 answer | 0

1

answer

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

nästan 8 år ago

Question


How can I determine which blocksets my Simulink model uses?
For MATLAB code, there's |matlab.codetools.requiredFilesAndProducts| to help you determine which MATLAB toolboxes the code requi...

nästan 9 år ago | 1 answer | 0

1

answer

Solved


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

ungefär 10 år 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...

ungefär 10 år ago

Solved


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

ungefär 10 år ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

ungefär 10 år ago

Solved


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

ungefär 10 år 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 ...

ungefär 10 år 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...

ungefär 10 år 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...

ungefär 10 år 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 = ...

ungefär 10 år ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

ungefär 10 år ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

ungefär 10 år ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

ungefär 10 år ago

Solved


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

ungefär 10 år 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 ...

ungefär 10 år ago

Question


Using fprintf in MATLAB function block with rapid accelerator (R2013b)
I'd like to write output to a file from a MATLAB function block under certain conditions. The attached model illustrates simpli...

mer än 10 år ago | 1 answer | 0

1

answer