Community Profile

photo

Haitham AL Satai


Last seen: 25 days ago Active since 2022

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Content Feed

View by

Question


How can I only put all the coverage area and FECs in one figure?
I am trying to put all the coverage area with blue color that is shown below in one figure to see the overlapping area: At th...

10 months ago | 1 answer | 0

1

answer

Question


How to use For loop to the below data?
I have 15 cells as shown below: I would like to plot their data. As shown below, I drew the data for the first two cells % F...

10 months ago | 1 answer | 0

1

answer

Question


How can I change the title of a figure through each iteration of the loop?
I have the following Matlab code that gives me four figures. close all; clear variables; clc; % % For Phi/Psi = +/-10 Cov...

1 year ago | 1 answer | 0

1

answer

Question


How to iterate over multiple vectors or using a function to draw multiple vectors without using the same piece of code again and again?
I have below the following 12 vectors: % FEC = 3.8x10^-3 % % For Phi/Psi = +/-10 CoverageArea_mean_10 = [84.4735,21.1779,6.42...

1 year ago | 1 answer | 0

1

answer

Question


How to show the legend of zero values as a line?
I have below the following example,that shows the bars for the following vectors: % % For Phi/Psi = +/-10 CoverageArea_mean_10...

1 year ago | 1 answer | 0

1

answer

Question


How can I represent the vectors below as in the figure below?
I have below these three vectors: CoverageArea_mean = [84.4735,0,21.1779,4.5211,6.4247,2.3795,2.1416,0]; %FEC = 3.8x10^-3 Cove...

1 year ago | 1 answer | 0

1

answer

Question


How can I show the legend to all bars?
Below in the figure, I am trying to show the legend to all bars, but I only get the legend for the first bar. How can I show it ...

1 year ago | 2 answers | 0

2

answers

Question


How to colour each individual bar with a different colour?
I would like to colour each individual bar with a different colour. Any assistance, please? My example below: CoverageArea =...

1 year ago | 2 answers | 0

2

answers

Question


How to plot with bar3 plot in MATLAB?
I am trying to draw something like the picture below in Matlab: with adding the percentage above every bar. Is it possible to...

1 year ago | 2 answers | 0

2

answers

Question


I would like to run the calculating of the following piece of code 30 times in MATLAB
I am trying to calculate the received optical power for an optical communication system for 30 times. When I run the code, I get...

1 year ago | 0 answers | 0

0

answers

Question


How can I set x ticks for every curve in the subplot, legend for every curve and a title for the whole figure?
I have the following figure with 12 curves superimposed on each other, as shown below. I want to draw each curve alone with a...

1 year ago | 1 answer | 0

1

answer

Question


How to adjust the position of the x-axis ticks and put the angle degree on the values of the x-axis ticks?
Dears, I have the following plot in Matlab as shown below: The x-axis represents angles. I would like to add the angle degree...

1 year ago | 2 answers | 0

2

answers

Question


How can I include the legends within the for loop and how can I set the xticks in MATLAB?
I have below the following data Q = [16,32,64,128,256,512,1024]; VEC_5 = [0.2380 0.2380 0.2380 0.2380 0.2380 0....

1 year ago | 1 answer | 0

1

answer

Question


How do I write the below code in efficient way in MATLAB?
I have below the following data Q = [16,32,64,128,256,512,1024]; VEC_5 = [0.2380 0.2380 0.2380 0.2380 0.2380 0....

1 year ago | 1 answer | 0

1

answer

Question


How to substract a value from each row in a cell in Matlab?
I have a cell with dimension 41X41 as shown below that has values equal to 1, it means all its values are equal to ones as sh...

1 year ago | 1 answer | 0

1

answer

Question


How to draw with semiology in MATLAB?
I have below the following information: Q = [16,32,64,128,256,512,1024]; y = [9 9 9 9 5 0 0]*0.25; y1...

1 year ago | 2 answers | 0

2

answers

Question


How to apply a relational operator on a cell in MATLAB?
I would like to know the number of values that are less than 0.0038 in a cell of 41 X 41 double. For example, I have the cell b...

1 year ago | 1 answer | 0

1

answer

Question


How to make specific elements of a cell equal to zero?
I have a cell 41 * 41 dimension and I would like to make the values that over 0.5 zeros and the rest of the values keep them wit...

1 year ago | 2 answers | 0

2

answers

Question


How to calculate BER vs. SNR in ACO-OFDM system over VLC channel?
I am trying to calculate BER vs. SNR performance of LS and MMSE aided channel estimation algorithms in ACO-OFDM system over VL...

1 year ago | 1 answer | 0

1

answer

Question


How can I remove this projection from Matlab plot?
Hi, dears. I would like to remove this projection (the circles in the bottom) from the below figure. Is there any command to r...

1 year ago | 1 answer | 0

1

answer

Question


Calculating the Bit error rate (BER) for a Visible Light Communication (VLC)
I am trying to calculate the bit error rate (BER) for a visible light communication LED source. Based on the code of this link ...

1 year ago | 0 answers | 0

0

answers

Question


How to plot multiple curves in one figure for changable values of phi and psi?
I have phi & psi and each one has values from 0 to 30 as shown below: What I am trying to do is plotting the received optical...

1 year ago | 0 answers | 0

0

answers

Question


How to deal with legend for multiple curves in one figure?
I have a multiple curevs in one figure and I wanna add a legend to each curve. So, instead of data1, data2, data3, data4, and...

1 year ago | 1 answer | 0

1

answer

Question


Calculating the H0_LOS & P_rec_dBm and draw it at every new psi & phi values?
I am calculating the optical received power via the following two lines of code: P_r_LOS = P_t.*H0_LOS.*T_s.*G_Con; P_rec_dBm ...

1 year ago | 0 answers | 0

0

answers

Question


How can I calculate the H0_LOS & P_rec_dBm and draw it at every new psi value?
Hello, dears. Here, I am trying to calculate the optical received power via the following two lines of code: P_r_LOS = P_t.*H0_...

1 year ago | 1 answer | 0

1

answer

Question


From Python to Matlab
clc; clear; close all;

2 years ago | 1 answer | 0

1

answer

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

2 years ago