Community Profile

##### Last seen: 1일 전
40 2019 이후 총 참여 횟수

세부 정보 보기...

참여 게시물
보기 기준

질문

How to vectorise code involving matrix multiplications with vectors
Hi all, I have a large number of matrices and an equally large number of corresponding vectors. For the matrix and vector I ...

3일 전 | 답변 수: 1 | 0

### 1

답변

질문

How to find the indices within a matrix where its elements are identical along the third dimension
Hi all, I am scratching my head to determine a way where I can find the indices within a multi-dimensional matrix where its el...

2달 전 | 답변 수: 1 | 0

### 1

답변

질문

Integrate definite integral with system of differential equations
Hi all, I have a fairly complex system of differential equations, and a part of which depends on a criterion that uses defini...

3달 전 | 답변 수: 1 | 0

### 1

답변

질문

Alternative to blkdiag and mat2cell functions
Hi all, I currently have a code which takes some matrix A and stacks each row of the aforementioned matrix in to a block diago...

4달 전 | 답변 수: 3 | 0

### 3

답변

질문

Input a repeating jacobian pattern in ode23tb
Hi all, I have been using ode23tb to solve a large system of about 1,312 differential equations where . I do not know the Jaco...

4달 전 | 답변 수: 0 | 0

### 0

답변

질문

What is the interpolation function used to interpolate the ODE solution using deval?
Hi all, I am currently making a custom ODE solver, and one functionality which I find useful in default ode solvers, and I woul...

5달 전 | 답변 수: 0 | 0

### 0

답변

질문

Exponential Integrator in MATLAB?
Hi all, I wanted to ask if anyone happens to know of a package/code in MATLAB which solves equations utilising exponential int...

5달 전 | 답변 수: 1 | 0

### 1

답변

질문

ODE Events Function Using Persistent Variables
Hi all, I am solving an ODE with an events function, which requires that it gets stopped after a certain criterion is reached ...

5달 전 | 답변 수: 2 | 0

### 2

답변

질문

Calculating the exponential matrix.
Hi all, I have a matrix exponential , where: In specific, is an arbitrary constant, is the identity matrix, and , ...

6달 전 | 답변 수: 0 | 0

### 0

답변

질문

How to share on Matlab Online
Hi all, I have been working with MATLAB on my desktop for some time now. I have recently come accross MATLAB online which se...

6달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to multiply 3D matrices without using for loop
Hi all, I would like to know if there is a way to multiply 3D matrices, preferably without using a for loop. The reason I do no...

6달 전 | 답변 수: 1 | 0

### 1

답변

질문

How to use blkdiag in 3D matrix
Hi all, I would like to know how I can use the blkdiag function for the case of a 3D matrix. In specific, what I mean is the f...

6달 전 | 답변 수: 2 | 0

### 2

답변

질문

Cannot calculate gradient of contour plot
Hi all, I am currently attempting to draw a quiver plot on top of a contour plot, such that I can see the gradient of the cont...

7달 전 | 답변 수: 1 | 0

### 1

답변

질문

Implementing arrayfun for the yline function
Hi there, I have been trying to implement arrayfun for the function yline. In specific I have the following code: figure ...

10달 전 | 답변 수: 1 | 0

### 1

답변

질문

Replace values in each column of a matrix which lie below a threshold
Hi all, Lets say I have the following matrix: a = 0.9952 0.6999 0.2940 0.0034 0.2553 0.5776 0....

10달 전 | 답변 수: 1 | 1

### 1

답변

질문

Perform AND operations with multiple matrices
Hi all, I am performing AND operations with multiple matrices, where I have a cell array M={1x3} containing three matrices of a...

약 1년 전 | 답변 수: 3 | 0

### 3

답변

질문

Obtain single equation from a system of equations stored as an anonymous function
Hi all, I would like to ask if it is possible to use some sort of notation or other trick, such that I can obtain one of the t...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

How to reshape an array in a specific manner
Hi all, I was trying to reshape an array in a specific manner, however I couldn't accomplish that. Here is the example: I hav...

약 1년 전 | 답변 수: 2 | 0

### 2

답변

질문

Access previous iteration in while loop to derive stopping criterion for differential equation correction-prediction method
Hi all, I have been trying to write a prediction-correction method for matrix differential equations, however I have been unsu...

약 1년 전 | 답변 수: 1 | 0

### 1

답변

질문

ODE45 stop when steady state occurs in a periodic function
Hi all, I have a typical set of equations for a forced spring-mass-damper system, which I have managed to solve successfully. ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Too many input arguments for Max function in 2018b
Hi all, I am using the function 'max' in its newest format for 2018b, as shown here, and I have the following code: A = randi...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Find zeros of numeric function
Hi all, I have a numeric function which for the sake of simplicity resembles the following: x = linspace(1:100) ; y = sin(x...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

ODE45 calculating the total energy in the system and checking the solver
Hi all, I have a simple code written for a 3 degree of freedom damped cart-mass system. My aim is that besides by solving for ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Convergence with fsolve?
Hi all, I was trying to solve a system of equations using fsolve that I havent' been succesfull in doing so. So I have the fol...

1년 이상 전 | 답변 수: 0 | 0

### 0

답변

질문

Simscape custom component to have one parameters unit change depending on the input of another parameter
Hi all, I am creating a custom simscape block and it all works fine, except the units. The equation is Torq = D1*w + D2*w^PE a...

1년 이상 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
How to dynamically size arrays in Simscape custom component?
Have you tried writing right next to your inputs something like: inputs (Size = Variable). I do not know if it works but it is s...

1년 이상 전 | 0

질문

Hi all, I have created a 2 degree of freedom model of an engine driving a propeller with a 'flexible crankshaft' modelled in s...

1년 이상 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
How to make a new Simscape model in ".ssc" File.
Well.. I was running into the exact same problem as @Yji Ito and @Chris Matthews run into. After experimenting I managed to get ...

1년 이상 전 | 0

| 수락됨

질문

Simulink 'To File' Block: How to save simulation outputs as distinct vectors
Hi all, How is it possible to save in simulink a bunch of simulation outpus in the same .mat file (using the 'To File' block),...

1년 이상 전 | 답변 수: 1 | 0

답변

답변 있음