구구
Followers: 0 Following: 0
Feeds
提问
App designer creates a new function inside another function where a parfor loop exists
As the title suggests, it is created in an existing function with a parfor loop when creating a new function in App Designer. ...
2 months 前 | 1 个回答 | 2
1
个回答提问
ODE15s nondimensional Jacobian matrix can help convergence?
Hi I'm trying to solve a transient multiphysics problem with MATLAB ode15s function. The problem consists of three physical sy...
1 year 前 | 1 个回答 | 0
1
个回答提问
odextend initial guess error
I am using ode15s to analyze the steady state of the system from the initial state (time t0) and then using odextend to analyze ...
1 year 前 | 2 个回答 | 0
2
个回答提问
ODE function return additional time dependent values
The equation I'm integrating is M x'' = F, which is the basic rigid body equation of motion and also performs transient heat con...
1 year 前 | 1 个回答 | 0
1
个回答已解决
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
2 years 前
已解决
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 ...
2 years 前
已解决
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
2 years 前
已解决
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
2 years 前
已解决
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...
2 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 ...
2 years 前
提问
why matlab is using all cores when no parallel pool is created
Hi Something weird is happening on my matlab code. I'm using AMD Ryzen Threadripper 2990WX (32 physical cores). I have paral...
2 years 前 | 1 个回答 | 0
1
个回答提问
Can I run MATLAB function from each excel file using macro at the same time?
I wanted to run MATLAB function from excel file and it worked using VBA and excel macro. For parametric study I made several ex...
2 years 前 | 1 个回答 | 0
1
个回答提问
GA is not satisfying nonlinear constraints
I'm using GA to optimize geometry for maximum safety ratio. Input parameter contain length, width, and etc, and the nonlinear c...
3 years 前 | 1 个回答 | 0
1
个回答已解决
Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...
3 years 前
已解决
Vector push
Append an element |x| to the end of the vector |v| and return both the extended vector and the new number of its elements. |x| c...
3 years 前
已解决
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
3 years 前
已解决
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...
3 years 前
已解决
2048 Next Move
Given a board in the game 2048 (see the game here: <http://gabrielecirulli.github.io/2048/ 2048>) and a direction ('up','down','...
3 years 前
已解决
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...
3 years 前
已解决
Extract part elements of matrix into one new matrix
Given a matrix that includes different nonzero and zero entries, extract the nonzero elements and form a new matrix. The new mat...
3 years 前
已解决
Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...
3 years 前
已解决
~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...
3 years 前
已解决
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
3 years 前