Community Profile

photo

EldaEbrithil


Last seen: circa un mese fa Attivo dal 2020

Statistiche

  • Thankful Level 4
  • First Review

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Carica altro