Community Profile Last seen: 25日 前 2019 以来アクティブ

#### Statistics

• • • • バッジを表示

#### Content Feed

Import data from text file with lines of unequal length as fast as possible.
Hi all, I wish to import data from a text file which has 6,000 lines. The data in the .txt file is structured in lines of uneq...

27日 前 | 2 件の回答 | 1

### 2

Uigetfile returns zero without opening window
Hi all, I am using uigetfile in a GUI I designed in the AppDesigner. After a couple of times of running the GUI, running other...

27日 前 | 0 件の回答 | 0

### 0

Make a 3D matrix block diagonal
Hi all, I have a 3-D matrix which I would like to make block-diagonal on its 2nd dimention. In my case I have: clear ; clc ...

3ヶ月 前 | 0 件の回答 | 0

### 0

How to save the last four iterations in a for-loop
Hi all, I have a basic for-loop and I would like to know how I can only save (or retain) the last 4 iterations of the loop ins...

3ヶ月 前 | 2 件の回答 | 0

### 2

Extract indices from other matrix corresponding to the minimum
I currently have a matrix in which I want to determine the column which corresponds to the minimum of each row, which I can do t...

5ヶ月 前 | 1 件の回答 | 0

### 1

Why is sec(theta) different than sqrt(1+tan(theta).^2) in MATLAB?
Hi all, I just run into an odd problem; we all know the trigonometric identity . I use this identity in my code where I have a...

7ヶ月 前 | 3 件の回答 | 0

### 3

How to extract vectors from strings
I have the following two strings from which I would like to extract the numbers in two respective vectors: A = 'REAL 1.001...

8ヶ月 前 | 1 件の回答 | 0

### 1

How to solve a linear ill conditioned system of equations
Hi all, I have a typical linear problem to solve , where is a tridiagonal, illconditioned matrix. Using the solution of said sy...

8ヶ月 前 | 1 件の回答 | 1

### 1

Using cellfun to extract numbers from strings in a cell array
Hi all, I currently have the following code which extracts numbers from strings found within a cell array. Cel = {'1-2-3-4-5...

8ヶ月 前 | 1 件の回答 | 0

### 1

How to obtain the frequency response of a linear Multi-Degree of Freedom system
Hi all, I have the following Multi-Degree of Freedom (MDOF) system for which I would like to find its frequency response: w...

9ヶ月 前 | 0 件の回答 | 0

### 0

How to create a vector of symbolic variables with specific labeling
I currently have a vector of unevenly spaced increasing values similar to this one: v = [1 2 3 5 7 9 10 12 18 29] What I would...

10ヶ月 前 | 3 件の回答 | 0

### 3

How to find all possible combinations between the numbers of two vectors where order does matter
I have the following two vectors a = [1 2 3 4] b = [2 4] and I would like to find all possible combination between the number...

10ヶ月 前 | 1 件の回答 | 0

### 1

How to split a cell array into individual rows
I have a cell array of the following format: C = 2×2 cell array {3×2 double} {3×18 sym} {5×2 double} {5×...

10ヶ月 前 | 1 件の回答 | 0

### 1

Save checked items from uitree in a cell array
Hi all, I have just started using the uitree for a basic app that I am designing. What I would like to do is save the NodeData...

10ヶ月 前 | 1 件の回答 | 0

### 1

How to trim a surface intersecting with another
Hi all, I have two surfaces Z1 and Z2 (a surface and an extruded line) that intersect with each other, in point format with two ...

### 1

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

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

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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 ...

1年以上 前 | 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 , ...

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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...

1年以上 前 | 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...

2年弱 前 | 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 ...

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