Question

mix symbolic with function handle

hi I've to write a function with parameter b, where an integral is in this function. how can i do it? thanks for any advice L=...

19 giorni ago | 1 answer | 0

Question

How to use fzero properly

I've to search for the roots of an equation (the energy levels of multiple quantum well using the propagator method). If I sear...

28 giorni ago | 1 answer | 1

Question

array of function handle

I have to convert a code written using syms, to a code with function handle. (my prof doesn't want me to use syms) how can I se...

circa un mese ago | 1 answer | 0

Question

integral of function definite in piece with multiple variable

I need to calculate the fourier transform of a function can you show me how to run this code and also how to run using syms t...

circa 2 mesi ago | 1 answer | 0

Question

fzero function with cases

I have to search for the zero of a function that has 2 cases , but it doesn't work Are there other way to define a function tha...

circa 2 mesi ago | 1 answer | 0

Question

how to normalize results from ode45

I solved using the shooting method the first 3 level of the anharmonic quantum potential well I get a plot like this sinc...

2 mesi ago | 1 answer | 0

Question

Table with blanks and index symbol

How can I have blanks instead of 0 or NaN? And Is there a way to have the index D_{i} D(D==0)=NaN; D_1=D(:,1); D_2=D(:,2); ...

3 mesi ago | 1 answer | 0

Question

plot label with latex symbol

hi how can i enter latex symbol (greek letter rho this time) in the labels of a plot? (first order bessel function) yl={'J_{1}...

3 mesi ago | 1 answer | 0

Question

Insert all in matrix

for all iteration the function ricerca sometimes gives 7 values, sometimes 2 how can i insert all the values in a matrix. It's ...

4 mesi ago | 1 answer | 0

Question

fzero with function in matrix

I have to solve a matrix of function and then search the zero I write a simpler code. syms x a=[sin(x),1;1,1]; b=[1/cos(x);...

4 mesi ago | 1 answer | 0

Question

Text in plot with symbol and fractions

Hi newbie here and first question I need the place a text in a plot and i use str1=cat(2,'x(\infty)=',num2str(y(1,end),'%1.4...

4 mesi ago | 2 answers | 0