Feeds
已解决
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
20 days 前
已解决
Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...
20 days 前
已解决
Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...
20 days 前
已解决
Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....
20 days 前
已解决
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
20 days 前
已解决
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
20 days 前
已解决
Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...
20 days 前
已解决
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
20 days 前
已解决
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...
20 days 前
提问
How to write data to Confluence page using m-script?
I need to automate writing data to Confluence page through matlab scripting.
3 years 前 | 1 个回答 | 0
1
个回答已解决
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
3 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 ...
3 years 前
提问
How accurately Simscape Multibody calculates volume of a complex custom cad file solid?
I have a very complex cad file solid in STEP format. If i calculate the inertial properties of the solid from its geometry by pr...
6 years 前 | 1 个回答 | 0
1
个回答提问
Does Motor control Blockset supports F28379D control card?
I have TMDSHVMTRPFCKIT High Voltage Motor Control Evaluation board with F28379D Control card. Will the Motor Control Blockset LA...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to connect Revolute Joint to an Asynchronous Machine?
I need to connect Specialized Power Electronics Asynchronous Machine (240W Induction Motor) to Revolute Joint which eventually s...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to specify rotor inertia in asynchronous machine if speed is selected as mechanical input?
If speed is selected as mechanical input in specialized power electronics asynchronous block, option to specify inertia constant...
7 years 前 | 1 个回答 | 0
1
个回答已回答
Unable to import CAD geometry in Simscape Multibody
Hi Steve, The file is converted to .xml and .STEP, and now we are able to read the file content. Thanks for providing the inf...
Unable to import CAD geometry in Simscape Multibody
Hi Steve, The file is converted to .xml and .STEP, and now we are able to read the file content. Thanks for providing the inf...
7 years 前 | 2
已解决
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...
8 years 前





