photo

EldaEbrithil


Last seen: 9 månader ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 4
  • First Review

View badges

Feeds

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

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

1

answer

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

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

1

answer

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

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

0

answers

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

2

answers

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

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

2

answers

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

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

0

answers

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

1

answer

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

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

0

answers

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

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

2

answers

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

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

2

answers

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

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

1

answer

Load more