Respondida
Simulating ODEs with array inputs
Hi, I'm not sure you use ode45 correctly. In your function dydt = first_order(t, y, P, T_o) t is the current time and y the ...

más de 5 años hace | 1

| aceptada

Respondida
Computing time for .^(1/2) or .^(1/p)
Explanation in french here In order to compute the square root of any number you only need to be able to compute the square roo...

más de 5 años hace | 1

| aceptada

Respondida
Sum the daily data based on month and year
Lets assume your 3D variable is called data Frist get the group id : which width of data correspond to the same month of the sa...

más de 5 años hace | 0

| aceptada

Respondida
vector indexing in different dimension
You can use arrayfun function: arrayfun(@(a,b) max(C(a:b)),A,B)

más de 5 años hace | 1

| aceptada

Respondida
How to divide gray scale image into 8x8 blocks and access each block separately to apply dct2 on the block
file = 'cameraman.tif'; im=imread(file); imshow(im); In order to use blockproc you have to use a function that accpts blockss...

más de 5 años hace | 1

| aceptada