photo

KostasK


Last seen: ungefär ett år ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 4
  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Question


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

nästan 2 år ago | 1 answer | 0

1

answer

Question


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

ungefär 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 2 answers | 1

2

answers

Question


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

mer än 2 år ago | 0 answers | 0

0

answers

Question


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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 2 answers | 0

2

answers

Question


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

nästan 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 3 år ago | 3 answers | 0

3

answers

Question


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

ungefär 3 år ago | 1 answer | 0

1

answer

Question


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

ungefär 3 år ago | 1 answer | 1

1

answer

Question


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

ungefär 3 år ago | 1 answer | 0

1

answer

Question


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

ungefär 3 år ago | 0 answers | 0

0

answers

Question


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

ungefär 3 år ago | 3 answers | 0

3

answers

Question


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

ungefär 3 år ago | 1 answer | 0

1

answer

Question


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

ungefär 3 år ago | 1 answer | 0

1

answer

Question


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

ungefär 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 3 answers | 0

3

answers

Question


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

nästan 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 0 answers | 1

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 2 answers | 1

2

answers

Question


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

ungefär 4 år ago | 0 answers | 0

0

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Question


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

ungefär 4 år ago | 2 answers | 0

2

answers

Question


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

ungefär 4 år ago | 1 answer | 0

1

answer

Load more