Community Profile

photo

Mohamed Salah


Cairo University

Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 3

View badges

Feeds

View by

Channel


myfirstchannel

2 years ago

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer