KostasK
Followers: 0 Following: 0
Feeds
提问
Ploted graphs in tiled layout extends beyond figure
Hi all, the problem I have is pretty self-explanatory. I am trying to used tiledlayout in order to produce 5 plots as shown by t...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to obtain and plot perpedicular lines using the gradient of a function
Hi all, I have a simple function (quadratic in this case) where I would like to plot the lines perpedicular to its tangent for...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 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...
2 years 前 | 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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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...
3 years 前 | 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×...
3 years 前 | 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...
3 years 前 | 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 ...
3 years 前 | 1 个回答 | 0
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 ...
3 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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 years 前 | 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 years 前 | 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...
4 years 前 | 0 个回答 | 1
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...
4 years 前 | 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 ...
4 years 前 | 2 个回答 | 1
2
个回答提问
Calculating the exponential matrix.
Hi all, I have a matrix exponential , where: In specific, is an arbitrary constant, is the identity matrix, and , ...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 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...
4 years 前 | 1 个回答 | 0