回答済み
the purpose of this code segment
Hi Oai, The placed code just repeats the binary data by the ratio provided. It is a sort of upsampling when the binary_vector i...

約6年 前 | 2

回答済み
Y=√(|e^x | )
Hi Gabriela, This can be written in MATLAB program as such, x = 10; y = sqrt(abs(exp(x))); The sqrt, abs, and exp functions ...

約6年 前 | 1

| 採用済み

回答済み
Help with error command and user input
Hi Stieve, You can try running the infinite loop, till the input provided is one of the valid values. Once, you place the erro...

約6年 前 | 0

回答済み
Undefined function or variable 'impact'.
Hi Raad, Make sure the function 'impact' is present in the matlab path. You can try >> which impact Then add the folder in wh...

約6年 前 | 0

回答済み
Low-Pass Filter (Discrete or Continuous) not appearing in library.
Hi Mathew, This link of lowpass filter should provide you the insights in the way the block can be used. Hope this helps. Reg...

約6年 前 | 0

回答済み
Mean of columns within matrix blocks of different dimensions
Hi Fpet, You can try the following: B = mat2cell(A,2151,[3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 4 4 3 3 3]); bAvgCell ...

約6年 前 | 0

| 採用済み

回答済み
How to Generate 12 random values and use the fft command in Matlab to find its 12-point DFT
Hi Riya, You can generate random values with rand function and perform DFT with fft function. Simply, x = rand(12,1); y = f...

約6年 前 | 1

回答済み
Network Analysis and Visualization
Hi Tugce, As a starting point, you can look over the FIle exchange submissions pmfg and PMFG, by Tomaso. You can contact the au...

約6年 前 | 0

回答済み
BER is showing zero
Hi Ruhin, You get zero BER due to very high SNR in the range of 65 to 68 dB. Try to modify the IdB to a very low value, to red...

約6年 前 | 1

回答済み
zero padding between data
Hi Fima, You can perform this task in many ways, one simple way is this: % Assign a variable with zeros for the length of the ...

約6年 前 | 0

| 採用済み

回答済み
trplot function doesn't show one of the axis
Hi Hassan, The function rotx and roty takes the input angle in degrees. The examples and description on these pages will provi...

約6年 前 | 0

回答済み
Please Explain this code
Hi Caitlin, Here is the annotated code with the explanation: clc; % Clear command window clear all; % Clears all the va...

約6年 前 | 0

回答済み
How to Subplot in a for loop
Hi Patrick, You can the following modifications to the code: 1) To plot it inline the for loops, you can use the count tempora...

約6年 前 | 0

| 採用済み

回答済み
Simple rearrangement of matrix
Hi Jens, Small modification to what you have done would work, this doesn't require a for loop A = [1,2,3]'; B = [A A]; B = r...

約6年 前 | 0

| 採用済み

回答済み
Array indices must be positive integers or logical values.
Hi Samuel, In the calculation of m in the for loop, trig value is not multiplied instead accessed with a value. This is the sou...

約6年 前 | 0

| 採用済み

回答済み
how to plot vector fields in matlab ??
Hi Pabba, You can look over the script provided here, which gives insights of how this can be done. The other usable function ...

約6年 前 | 0

回答済み
Taking An Average of Multiple Outputs From For Loop
Hi Celeste, You can take the mean of every reuterned M value, if you store the calculate M value in an array. The code overwrit...

約6年 前 | 0

| 採用済み

回答済み
How do i concatanate this two matrices even if they are not consistent .
Hi Bita, In general, inorder to concatenate two matrices any of the dimension must be the same. Like if number of rows are sa...

約6年 前 | 0

| 採用済み

回答済み
Repeating loop until input conditions are met
Hi, One small change that can be done is to place a while loop for the a1 input and then if a1 < 180, break the loop. Prototyp...

約6年 前 | 0

| 採用済み

回答済み
Error in if condition
Hi Ararat, Based on the information provided, the following will help if any(isnan(enthleft), 'all') && any(isnan(enthright), ...

約6年 前 | 1

回答済み
Ble and blelist functions cannot be found
Hi Natalija, The functions ble and blelist functions comes with support for Bluetooth Low Energy Communication with MATLAB from...

約6年 前 | 2

回答済み
Making Encoder for cyclic code
Hi Satrajeet, You might be looking for the binary encoder block and it is part of Communications Toolbox. Here is the link for ...

約6年 前 | 0

回答済み
Error while compressing the image using dct2()
Hi Anuja, This error can be solved by perfoming the RGB to gray conversion using rgb2gray function. To know the usage of dct2 w...

約6年 前 | 0

| 採用済み

回答済み
How to graph using a for loop
Hi Jose, This code need not require a for loop. The following can be done to get the same result: clc f=196.2; fi=0;...

約6年 前 | 1

回答済み
Invalid use of Operator error
Hi Pranav, Direct copy paste may not place it exactly as how is it written in the book. You could try to make slight modificati...

約6年 前 | 0

| 採用済み

回答済み
How to sum my matrix element?
Hi Eddy, It is because in one of the for loop, you made sum as a variable too. Using the same variable which is the same as inb...

約6年 前 | 0

| 採用済み

回答済み
How to edit matrice to another matrice?
Hi Ahdia, To perform just what you have asked for, you can do something as below: a = 10; b = 20; c = 30; d = 40; e = 50; ...

約6年 前 | 1

| 採用済み

回答済み
How to combine arrays
Hi, The following should help you do it: D = zeros(size(A)); D(A==1 | B == 1 | C == 1) = 1; Hope this helps. Regards, Srir...

約6年 前 | 0

| 採用済み

回答済み
can I download R2018a as a trial?
Hi Emily, You can download the free trial of any MATLAB version from here. To see the compatibility issues with R2018a updates...

約6年 前 | 0

回答済み
How to calculate IIR coefficient from filterDesigner
Hi Thanah, To export the filiter coefficients, you can try the following as suggested here https://www.mathworks.com/help/signa...

約6年 前 | 0

さらに読み込む