Question

Find row elements of a table in another table

Hi all A and B are two tables; I want to know if a set of values of the first row of A is contained in B; i need also the ind...

4 months ago | 1 answer | 0

Question

Avoid divergent curves of ODE solutions

Hi all I have solved a system of differential equations in an iterative way, as you can see from the graph I have several curve...

4 months ago | 1 answer | 0

Question

Plot symbolic functions for different domain

Hi all i have a cell array where each element F{i} is a symbolic function of the variable x. I would like to plot these functio...

4 months ago | 1 answer | 0

Question

Symbolic integration of cell arrays

Hi all is it possible to perform symbolic integration of cell arrays? P is a cell array where each element is the function that...

4 months ago | 1 answer | 0

Question

Use polyfit with cell arrays

Hi all i am not able to use polyfit with cell arrays; suppose we have 2 cell arrays A and B with the same number of elements an...

4 months ago | 1 answer | 0

Question

Exrapolate values from cell matrix and operations with cell elements

Hi all i have a cell matrix where each cell is nx3 double. Assuming you have the coordinates ( [y k] where y and k are arrays )...

4 months ago | 1 answer | 0

Question

Avoide imaginary part in cell matrix

Hi all i have a cell matrix A like that: val(:,:,1,1,1) = Columns 1 through 10 {n×2 double} {n×2 double} ...

4 months ago | 1 answer | 0

Question

Ode Not enough input arguments.

Hi all i have this code clear all; close all; clc; xstartconica=9.923425547086419e-04; xfineconica=0.006023740592755; R...

5 months ago | 1 answer | 0

Question

Reduce computational time for ODE solver

Hi all i have this code for iDom_hot = 1:numel(Dall_hot) xRange_hot = Dall_hot{iDom_hot}; for iInitial_hot = 1:numel(Y0_...

5 months ago | 1 answer | 0

Question

Solve ODE for variable domain

Hi all is it possible to solve the same ODE system for 3 adiacent different domain? Do i need something like that? if x>x1&&x<...

6 months ago | 1 answer | 0

Question

neat stacking of array and cell array

Hi all i have this 3x2 cell array: 6x1 cell 1x1 cell %a 1x1 cell 1x1 cell %b [] 1x1 cell %c i want to stack up the ...

6 months ago | 2 answers | 0

Question

Copy cells a variable number of times

Hi all i have this code for i=1:length(a) C(i)=repmat(b(i),1,a(i)) end where b is a cell array 16x5 double 16x5 double ...

6 months ago | 2 answers | 0

Question

Submatrixes with different rows

Hi all i have a certain matrix 45x5, i want to neatly cut this matrix in submatrixes (or maybe group into cells) with differe...

6 months ago | 0 answers | 0

Question

construct a vector formed by arrays of different lengths

Hi all i want to built a vector using multiple arrays with different length. First of all with thi code a=zeros(100000,sum(c)...

6 months ago | 1 answer | 0

Question

Mean value of a subarray

Hi all i have an array V=1x115 i want to create another array which contains the mean value neatly of the first 8 V values than...

6 months ago | 1 answer | 0

Question

Save the first non-zero value in each column

Hi all i have a matrix like that 1 0 1 0 1 0 0 0 0 1 0 1 i want to save only the first non zero values in each column an...

6 months ago | 1 answer | 0

Question

Find different arrays in a matrix

Hi all i have a matrix like that A=[1 2 3; 4 5 6; 7 8 9] i want the index of the rows that contain B=[1 3;4 5;7 9;4 6;2 3] so ...

6 months ago | 1 answer | 0

Question

Cell2Mat for cells with different dimensions

Hi all i have a cell array like this: C={(21 24 47 89 57)' , ( 24 21)' , (16 87 47 89 90 99 182)'} i want to obtain...

6 months ago | 1 answer | 0

Question

Minimum value ineach column

Hi all i want to extract the minimum positive value in each column, i have used this code for j=1:length(columnA) a(j)=min(A...

6 months ago | 1 answer | 0

Question

Cell arrays difference operation

Hi all i have a 2 cell arrays, Twcell_hot and tempTOT_hot;Twcell_hot is a 1x285 array where in each cell there is a single num...

6 months ago | 1 answer | 0

Question

Export data from cell matrix to excel

Hi i wanto to export all the cell and their relative values contained in Ysol (it contains numerous cells) to an excel file, ho...

8 months ago | 1 answer | 0

Question

Cutting for loop connected with cell matrix

Hi all i have a for loop capable to solve multiple times an ODE system. It gives me, as solution for the system, a cell matrix ...

8 months ago | 0 answers | 0

Question

Reduce computing time ode system

Hi all i would like to reduce the computing time of my code in such a way as to increase the dimensions of integration domain (...

8 months ago | 2 answers | 0

Question

Find indices for the minimum positive values in a cell

Hi all i am not able to find the indices for the minimum positive values inside a 2x7 cell. I would find the cell number (conta...

8 months ago | 2 answers | 0

Question

ODE system with variable parameter, Boundary conditions and domain

Hi all is it possible to solve an ODE system with these characteristics? The problem can be summerized in this way, calling: D...

8 months ago | 1 answer | 0

Question

Solving system of equations

Hi all i have a question about solving this system of equations. Tt, Pt and M are related to space and time due to i and j; i...

9 months ago | 1 answer | 0

Question

Solve first order PDEs system

Hi all i have some troubles in solving this PDE system, i don't know which is the most effective method. I have searched a lot...

9 months ago | 0 answers | 0

Question

How to solve a system of equations when multiple parameters changes

Hi all my question regards solving system when multiple terms vary within a certain range, for example: w_1=[1,2]; w_2=[2,3];...

9 months ago | 1 answer | 0

Question

partial derivatives system of differential equations in multiple unknowns

Hi all i have some problem with pdepe : "Unable to perform assignment because the size of the left side is 4-by-1 and the size ...

11 months ago | 0 answers | 0