![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18064955_1586096546564_DEF.jpg)
Mohamed Salah
Cairo University
Followers: 0 Following: 0
Feeds
提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0