Feeds
提问
I want this random sequence to repeat. How do I make this sequence repeat 'n' amount of times?
clc; clear all; %Input signal------------------------- numBits = input('Enter number of bits: '); %User inputs data ...
11 years 前 | 1 个回答 | 0
1
个回答提问
I wish to repeat a sequence a certain amount of time?
%Input signal------------------------- numBits = input('Enter number of bits: '); %User inputs data byte = randi([0,1...
11 years 前 | 0 个回答 | 0
0
个回答提问
How to Plotting a Binary input?
%Input signal clc; clear all; d = input('Enter Decimal Input to convert to Binary : '); byte = dec2bin(d) %Plotting Input...
11 years 前 | 1 个回答 | 0
1
个回答提问
The following program is takes the power from 1 to 3 from a given array. How do I get the result just for x3. When I put x3 it gives me the result for x1 I don't want that result I want the result of x3 only. Can anybody give me a hint?
function [x1,x2,x3] = powers1to3(n) x1 = 1:n; x2 = x1.^2; x3 = x1.^3;
11 years 前 | 1 个回答 | 1