Réponse apportée
write function that generates an echo to audio
Hi Franziska, there is no need for loops: % Load sample sound load TestSoundEcho.mat; % Play sample sound sound(data, fs)...

plus de 6 ans il y a | 1

Réponse apportée
Output a solution for a function at a specific value input
magT = @(omega)sqrt((5.903*10^24)^2+(1.181*10^20*omega)^2)/sqrt((1.181*10^25-(2.361*10^16*omega^2))^2+(9.445*10^20*omega)^2); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
solving integral in matlab
What you are looking for is an analytical solution. The integral function does solve numeric. To solve symbolic use int as John ...

plus de 6 ans il y a | 1

Réponse apportée
Split data into groups
A = randi(5000,300,1); % random data A = sortrows(A); % sort it low = A(1:100); % just use indexing now mid = A(101:200); hi...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Syntax error when opening a file using a path. it says " use a newline, semicolon, or comma before this statement "
It is unclear what you want: maybe you forgot to underline your variable name function_data = angleAnalysis_withPlots('C:/rese...

plus de 6 ans il y a | 0

Réponse apportée
HELP: looping a function and plot (ode23)
tspan1 = [0, 4]; tspan2 = [4, 10]; y0 = [0, 0]; [t1_r1, y1_r1] = ode23(@(t,y) fun(t,y,0.5,5), tspan1, y0); [t2_r1, y2_r1] ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
problem with table / array/cell
Your table content is a cell array - Read the Tips section from the documentation. It tells you why and how to deal with it. ce...

plus de 6 ans il y a | 0

Réponse apportée
Solve ODE with BC
I doubt that your ode has an analytical solution - however here is a minimal working example of how to include BC's in a symboli...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Respective matrices for different sheets in imported file frin excel
Use the 'sheet' option like shown here: https://de.mathworks.com/help/matlab/ref/readtable.html#d120e1047964 contentTable = rea...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
I'm trying to integrate, but I get an "undefined function" error.
int does not accept numerical inputs, because it performs symbolic integration - so you have to define a numerical vector for t ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Error using vertcat Dimensions of arrays being concatenated are not consistent. For solving ODE
tspan = [0 60]; %Initial Value C_V0 = 0; %x(1) C_I0 = 0; %x(2) C_C0 = 2; %x(3) C_W0 = 0; %x(4) C_G0 = 0; %x(5) [t,x] ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
calling a variable in another function
function [LookupTableFiles]=getaerotablelisting( FilePrefix, DirectoryName , filetype ) FileList = dir('DynamicData...

plus de 6 ans il y a | 0

Réponse apportée
Easily solved equation isn't being solved by 'solve'
There are 3 solutions, which you will find by setting the 'ReturnConditions' option to true: syms x A alpha h2m syms b positiv...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Undefined function 'ln' for input arguments of type 'double'. Sorry I kindly no idea what was wrong with the coding. Kindly help please ,Thanks a lots.
Change: F = inline('y*log(y))','x','y','z'); to: F = inline('y*log(y)','x','y','z'); also remove the error on the last line ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Nonlinear system of equations
https://de.mathworks.com/help/optim/ug/fsolve.html function myEq b1=1000; b2=100; c=50; t=0.76; T=950; n=5; x0 = [1 1 ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Error using GPU in Matlab 2020a for Reinforcement Learning
If you install Update 2 the problem should be solved: https://de.mathworks.com/support/bugreports/?release=R2020a&release_filte...

plus de 6 ans il y a | 2

| A accepté

A soumis


ADX - Directional Movement System
Calculates values for Directional Movement System like J. Welles Wilder describes in his book 'New Concepts in Technical Trading...

plus de 6 ans il y a | 160 téléchargements |

4.0 / 5

Réponse apportée
How to remove 'e' from a matrix?
N(N<1e-8)=0; this will hard set all values smaller than 1e-8 to zero. >> format shorte >> N = [12, 0.24e-16, 9] N = ...

plus de 6 ans il y a | 0

Réponse apportée
Solving System of 4 Non-Linear Equations
fsolve is a numerical solver - use vpasolve instead: syms A B C t0 eq1 = A*sin(2*B*pi*0.2 + 2*B*pi*(0 - t0)^2)+C - sin(2*pi*0....

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to concatenate horizontaly and not vertically
use C = [C, RAIES]; V = [V, DATAS]; instead C = [C; RAIES]; V = [V; DATAS];

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
How to use ode45 to model malaria?
tspan = [0 100]; y0 = zeros(1,4); [T,Y] = ode45(@malariaSEIRS, tspan, y0); figure(1) plot(T,Y) grid legend('S', 'E', 'I'...

plus de 6 ans il y a | 0

Réponse apportée
Iam getting an error with the ODE45 function (line 90)and (line 115)?
clc clear y0=[0.01 0.5]; %enter the initial conditions. t0=[0 60] ; %enter the first and final time for the analysis. [t,x]=...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
insert zeros into vector
a = [1 2 3 4 5] b = zeros(4,numel(a)) result = reshape([a; b],1,[])

plus de 6 ans il y a | 6

| A accepté

Réponse apportée
I need help as soon as possible
Try to work with a table to make life easier: N=1:10; a=0;b=2;alp=0.5; f=@(t,y)y-t^2+1; yexact=@(y,t)(1+t).^2-0.5*exp(t); h...

plus de 6 ans il y a | 2

Réponse apportée
Convert two vectors (x and y) to a square matrix ?
x = 0:0.01:6.28; y = sin(x); M = ones(size(x,2)); x_int = 1:size(x,2); y_int = ceil(y * size(y,2)/(abs(min(y))+abs(max(y...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Fit to find the value of an unknown parameter
Try to optimize with least squares: A=0.1; B=0.5; C=100; % Range for H lb = 0.0001; ub = 0.05; best_H = fminbnd(@(H)s...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Describing the motion of a composite body using system of differential equations
Solve numeric: syms y(t) z(t) Dy = diff(y,t); Dz = diff(z,t); eqns = [diff(y,t,2) == (29.4*cos(z)+4*Dz*Dz)*sin(z)/(1+3*sin(...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Making a Video from Images
https://de.mathworks.com/help/matlab/import_export/convert-between-image-sequences-and-video.html

plus de 6 ans il y a | 0

Réponse apportée
how to solve the non-linear equation
To solve for V as a function of Q: syms V Q D=1050; c=25; A=1000; B=1000; v=1.077; gamma =0.1; beta =0.1; eq = V*c*(1...

plus de 6 ans il y a | 0

Réponse apportée
Problem with solve function
syms s vs v1 v2 vo s R1 R2 R3 Rc1 Rc2 gm1 gm2 gm3 gmc1 gmc2 C1 C2 C3 Cc1 Cc2 k1 k2; % Nodal Analysis Equations eq1 = -gm1*vs +...

plus de 6 ans il y a | 0

| A accepté

Charger plus