Community Profile

# EldaEbrithil

Last seen: alrededor de 1 año ago Active since 2020

#### Content Feed

View by

Question

Reduce computational time for nested for loops
Hi all I wondered how could I reduce computational time for this for loop: for i=1:length(Lungh) for j=i:length(Largh) ...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Plot a function which contains a variable parameter
Hi all assuming to have a function like that: function f=Myfun(t,a,b) a=2*t; f=t^2+a-b; end where b is a variable paramete...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Ode45 not able to plot anything
Hi all i have some trouble with this iterative differential problem: Teta0=0; dTeta0=0; Nc=0.1; tempo=10; for k=1:length...

alrededor de 1 año ago | 0 answers | 0

### 0

Question

Realize a 3d line plot
Hi all i need to realize a 3d plot for displaying 3 connected quantities. for i=1:length(i_ed) for j=1:length(x) ...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

How to plot curves with different colors with "if" conditions
Hi all i want to realize a multilines plot using if conditions. The target is to plot each row of r_T for different columns(or ...

alrededor de 1 año ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 2 answers | 0

### 2

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

casi 2 años ago | 2 answers | 0

### 2

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

casi 2 años ago | 0 answers | 0

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

casi 2 años ago | 1 answer | 0

### 1

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

alrededor de 2 años ago | 1 answer | 0

### 1

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

alrededor de 2 años ago | 0 answers | 0

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

alrededor de 2 años ago | 2 answers | 0

### 2

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

alrededor de 2 años ago | 2 answers | 0

### 2

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

alrededor de 2 años ago | 1 answer | 0