s
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
I used find_system to get a list of Mux blocks present in a subsystem. There are 3 mux blocks named differently, the command returns the names in alphabetical order. Is there a way I can get them in the order they are present instead?
list = find_system(subsystem_path,'SearchDepth', 1, 'BlockType','Mux') which returns d , m & v but the order in which the m...
5 years 前 | 0 个回答 | 0
0
个回答提问
I see vector_size as the block parameter.How can I change it? How is it different from block name? add_line command doesn't recognize vector_size
5 years 前 | 0 个回答 | 0
0
个回答已回答
Sum specific rows of an array
clc; clear all; A = [0.2 2 3;1 3 4;1 4 6;0.8 4 6;2 5 1;1 6 2;0.4 6 2]; B = ...
Sum specific rows of an array
clc; clear all; A = [0.2 2 3;1 3 4;1 4 6;0.8 4 6;2 5 1;1 6 2;0.4 6 2]; B = ...
6 years 前 | 0
已回答
How to find out an element from a array when I have given some condition and rest of the elements will strore in different file as it is not obey the condition.
clc; close all; clear all; A=[0.006 0.001 3 4 0.005;6 7 0.008 9 10] B = A<0.01 C = A(B) D = A(~B) matlab.io.saveVariables...
How to find out an element from a array when I have given some condition and rest of the elements will strore in different file as it is not obey the condition.
clc; close all; clear all; A=[0.006 0.001 3 4 0.005;6 7 0.008 9 10] B = A<0.01 C = A(B) D = A(~B) matlab.io.saveVariables...
6 years 前 | 0
已回答
How to find out an element from a array when I have given some condition and rest of the elements will strore in different file as it is not obey the condition.
A=[ 1 4 5 88 34 9 10 3 45 12]; B = A < 10; C= A(B) D =A(~B) C = 1 4 5 9 3 D = 88 34 ...
How to find out an element from a array when I have given some condition and rest of the elements will strore in different file as it is not obey the condition.
A=[ 1 4 5 88 34 9 10 3 45 12]; B = A < 10; C= A(B) D =A(~B) C = 1 4 5 9 3 D = 88 34 ...
6 years 前 | 0
提问
The following command find_system('BlockType','Outport') only returns the outports present in the top most subsystem.It doesn't return the ones present in levels below.I tried using Search Depths, LookUnderMasks, FollowLinks but none of them worked
load_system('Test') open_system('Test') H = find_system('BlockType','Outport')
6 years 前 | 0 个回答 | 0
0
个回答提问
Need Help Appending data to a table in every iteration from a for loop .I want to add new data to New_Table every loop but not overwrite the existing data.
filename = 'Notes.xls'; sheet = 1; T = readtable(filename); App_Names= T(:,4); Unique_Data = unique(App_Names); ...
6 years 前 | 2 个回答 | 0
2
个回答提问
Can somebody give an brief idea where s function's can be used and what is it all about?
Can somebody give an brief idea where s function's can be used and what is all about?
8 years 前 | 3 个回答 | 0
3
个回答提问
Why do i get the error message 'More than one advisor process call back function found.But only the one with higher precedence is used'
When i try running the model advisor checks for my simulink model. Then i get the warning message 'More than one advisor proces...
8 years 前 | 1 个回答 | 0
1
个回答提问
I have a constant block which is used an input to my simulink block.When i do update diagram.It throws an error message saying 'Invalid setting for constant block for parameter value '.Why do i get this error ?
I have a constant block which is used an input to my simulink block.When i do update diagram.It throws an error message saying '...
8 years 前 | 1 个回答 | 1
1
个回答提问
joining various points when using a for loop.
for p=0:0.05:1 h=p*log(1-p) plot(p,h) end For the above code i am trying to join the discrete points but...
9 years 前 | 1 个回答 | 0
1
个回答提问
using the following "function output = conv_enco(input, K, g)" i have to call "function [next_state, output] = conv_enc(crt_state, input, K, g)" how can it be done in a matlab code? Kindly let me know.
How can call the above first function1 using function2 in a matlab code?
9 years 前 | 1 个回答 | 0
1
个回答提问
implementing direct form 2 without using filter command
x = randn(200,1); for n = 9:length(x) y(n) = 9*w(n)+w(n-1)+w(n-2)+33*w(n-3)+12*w(n-4) w(n) = 2*w(n-1)-1.5*w(n...
9 years 前 | 1 个回答 | 0
1
个回答提问
how can i give rand function as an input to the given difference equation?
n=10 x(n)=randn(n,1) y(n)=2.5*x(n)+ x(n-1) The x(n)should be given as input to the y(n) but when i tried doing that x...
9 years 前 | 1 个回答 | 0
1
个回答提问
how can i find the angle of a given input sequence [-1,2,-3,2,-1] using matlab not the phase response?
The answer given is pi.I found the X(w) the fourier tranform and i got the exponential terms.Now i am unable to get the phase no...
9 years 前 | 0 个回答 | 0
0
个回答提问
how can i use legend command when i am using hold on for plotting graphs? in my plot i want to use legend command to indicate the color for respective plot that is black for low pass,blue for high pass,green for power complementary,red for all pass.
k = input('Number of frequency points = '); %%256 w = 0:pi/k:pi; alpha=0.3 num=((1-alpha)/2)*[1 1] den...
9 years 前 | 1 个回答 | 0
1
个回答提问
These are my inputs how can i use str2num in title so that i can display the values of inputs?
A=input('amplitude= ') N=input('period= ') I get the following errors ??? Error using =...
9 years 前 | 2 个回答 | 0