Community Profile

photo

Mohamed Salah


Cairo University

Last seen: más de 2 años hace Con actividad desde 2020

Followers: 0   Following: 0

Contacto

Estadísticas

All
  • Thankful Level 3

Ver insignias

Feeds

Ver por

Canal


myfirstchannel

casi 3 años hace

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 4 años hace | 1 respuesta | 0

1

respuesta