Community Profile

photo

Mohamed Salah


Cairo University

Last seen: plus de 2 ans il y a Actif depuis 2020

Statistiques

All
  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

Chaîne


myfirstchannel

plus de 2 ans il y a

Question


Can I control filter command?
Assuming I have a function an equation like y[n]=x[n]-y[n-1] with the condition that y[n]=0 if n<0 can I implement and solve ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


I want to shift a part of a row vector to the right then adding a number before the shifted part
assuming I have a=[1 2 3 4 0 0]; b=[0 0 1 0] I want 'a' to be a=[1 2 3 1.5 4 0] the 1.5 is half the element before and b ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


Getting variables name from char array
assuming I have a char array like x a1=[1 2 3 4]; a2=[10 11 15 11]; b2=[4 5 6 7]; c2=[8 9 10 11]; x=['a1' 'a2' 'b2' 'c2'] ...

presque 4 ans il y a | 2 réponses | 0

2

réponses

Question


how to control the length of indexed array element?
m=[1 2 3 4]; m_d=0.5.*ones(1,length(m)); for i=1:length(m) m_xx=m(i)(1:(length(m(i))*m_d(1))); %error is here end I wan...

presque 4 ans il y a | 2 réponses | 0

2

réponses

Question


left and right sides have a different number of elements
o=4; m = ['c','d','c','f','e','c']; oo=o.*ones(1,length(m)); q=zeros(1,length(m)); w=zeros(1,length(m)); for i=1:length(m) ...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


comparing between two identical variables returns logic 0?
clc clear n=0:63; x1=0:7; x=[x1 x1 x1 x1 x1 x1 x1 x1]; y=((-1).^n).*x; [msg,N1]=find_period(x); disp(msg); [msg,N2]=fi...

presque 4 ans il y a | 1 réponse | 0

1

réponse