提问


Clean up Simulink block diagram
Is there an automatic way rearrange a Simulink block diagram so that it is easy to read? For example: * Straighten paths wher...

12 years 前 | 5 个回答 | 3

5

个回答

提问


Faster Simulink if scopes are switched off?
My questions concerns a Simulink model that is still being refined. The model contains >20 scopes to make it easy to spot troubl...

12 years 前 | 1 个回答 | 0

1

个回答

已解决


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

12 years 前

已解决


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

12 years 前

已解决


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

12 years 前

提问


Documenting an evolving Simulink model
I am running a script that loops through parameters and runs Simulink for each combination. At the end of each model run, I save...

12 years 前 | 1 个回答 | 1

1

个回答

提问


How to find all XY Graphs in Simulink model
I would like to find all XY Graphs in a Simulink model, even under masks. The following doesn't work: find_system(bdroot, '...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
What do you think of Cody, new service for MATLAB Central
Would love it, but keep getting errors that 'License checkout failed' on some of the testing of my solutions which requires resu...

12 years 前 | 1

已解决


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

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

提问


Saving mat file with many signals from Simulink
I have a Simulink model that calculates many time series (position, velocity, power, etc) in different blocks. I would like to c...

12 years 前 | 2 个回答 | 0

2

个回答

已解决


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

12 years 前

已解决


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

12 years 前

已解决


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

已解决


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

已解决


Is my wife right?
Regardless of input, output the string 'yes'.

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

已解决


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

12 years 前

提问


How can I get a PDF version of Simulink manual?
Where on Mathwork's website can I obtain a PDF version of the Simulink manuals? If I'm learning something new I need to mark it ...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Top-level approach to Simulink parameter study
I inherited a Simulink model that I will use for a study in which ~50 parameters are varied. This will require repeatedly runnin...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Why use x=load('myFile.mat')?
Why should I use newStructure = load('myFile.mat') ; instead of load('myFile.mat') ; I think it has something ...

12 years 前 | 3 个回答 | 2

3

个回答

提问


Fastest way to minimize a function
I have to perform many minimizations of a function, so I want to do it quickly. Here is the problem: given different values of T...

12 years 前 | 1 个回答 | 0

1

个回答

提问


Cores vs. speed tradeoff for a Matlab computer
I am buying a computer for Matlab modeling. The goal is to select the computer in my budget range that will complete a set of si...

12 years 前 | 2 个回答 | 3

2

个回答

加载更多