Community Profile

# Abderrahim BELISSAOUI

Last seen: Today Active since 2021

Application engineer at CES which is the exclusive partner of MathWorks in the Middle East. My technical background is mainly around Signal Processing, Communication Systems, RADAR, and control system. Also, I am an AI enthusiast.

Programming Languages:
Python, C++, Java, MATLAB
Spoken Languages:
Arabic, English, French

All

#### Content Feed

View by

How to write each iteration (data) in for loop to excel and how to read multiple excel files together?
Hi! With the below command you are overwriting output1.xlsx file, hence you are only getting the last written file. writetable...

1 día ago | 0

| accepted

How to customise the zlabel?
hI! Something like this : [X,Y] = meshgrid(1:0.5:10,1:20); Z = sin(X) + cos(Y); surf(X,Y,Z) % ACHange z label zticks ; ...

5 días ago | 0

| accepted

if clause for a nonscalar operator
If I understood correctly: p=[]; if ~isscalar(p) disp('hello') else disp('bye') end

6 días ago | 0

| accepted

can anyone explain what this piece of code do?
Hi! Your code does the basic Model Interconnection and some LTI system analysis (poles zeros plot). Try to learn from the doc...

6 días ago | 0

Hello everyone I want to ask how to reduce the length of the legend line.
Hi! Perhaps this: figure hold on plot(1:10, randi(5,10,1)) plot(1:10, randi(10,10,1)) % Modify x1 and x2 based on your...

6 días ago | 0

| accepted

How to plot this function
Hi! Since you need to multiply by the truth, maybe this below: f = @(x,y)((((x.^3).*y - x.*(y.^3)) ./ (x.^2 + y.^2) ).*( x ~= ...

7 días ago | 0

Load array from .mat file in Matlab System
Hi! I believe you are building a model in Simulink! If this is the case, you don't need to write a function for loading data: ...

7 días ago | 0

How to export struct saved in workspace to text file
Convert to table and then wrtie to text file: % Example 1: convert and write to table S.Str = 'I Love MATLAB' S.Date = dateti...

7 días ago | 1

| accepted

Contour plot using GPU computing
Hi! If you have Parllel Computing Toolbox, you can use gpuArray to store your data in the GPU memory, and since countour functi...

7 días ago | 0

loop a matrix through disorder columns indices
Hi! What about this below! % Dummy A A = randi(4, 100, 5 ) ; % B = [] ; for cIdx = [2 5 3 4 1] B = [B, A(:, cIdx...

8 días ago | 0

Solved

Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

8 días ago

Solved

Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

8 días ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

9 días ago

Save coefficients from fitlme function in a table
Hi You need to use dataset2table. Demo: load imports-85 tbl = table(X(:,12),X(:,14),X(:,24),'VariableNames',{'Horsepower','C...

9 días ago | 0

| accepted

Random number generator for matrix
Hi! Perhaps this: bounds = [10 20] ; % [a b ] randA = diag(diag(randi(bounds, 3,3))) Hope this helps

10 días ago | 0

| accepted

mxArray to double?
Hi! I' m not sure how did define variable count as double! Try to preinitialize the variable count before calling the function...

10 días ago | 1

app handler(appdesigner) is missing from workspace
Hi! You can use assignin . Read more: https://www.mathworks.com/help/matlab/ref/assignin.html Hope this helps

10 días ago | 0

| accepted

How to find the Helper function associated with the Model?
Hi! You have to open the example in MATLAB. openExample('driving/Create360BirdsEyeViewImageAroundAVehicleExample') Current ...

11 días ago | 2

dsp.SineWave in Matlab function block not generating sine wave on the scope
Hi! Why do not you use sinWave block available in dsp system simulink library instead of writing a MATLAB function for that ? ...

11 días ago | 1

Can't prove the convolution theorem of Fourier theorem for two dimensional matrices.
Hi! Please read about discrete convolution .... Perhaps this: Conv, fft and ifft x = randi(10, 20, 1); y = randi(20,20,1)...

12 días ago | 0

| accepted

error in table2array - unable toconcatenate the specified table of arrays
Hi! table2array Converts table to homogeneous array. Your table has mix data (numric, text, ). table2cell is an option that you...

12 días ago | 0

how can i add AWGN noise to signal
Perhaps setting random number generator will be helpful. use rng MWs Example: % Generate random data symbols and the 4-PSK m...

12 días ago | 0

| accepted

How to plot matrix to color band
X=[1, 2, 1, 3, 2, 1, 4, 2, 1, 3 ;... 2, 1, 1, 3, 6, 2, 4, 3, 2, 1;... 4, 1, 7, 2, 4, 3, 2, 4, 1, 2;... 2, 1, 5, 7, 5, 6, 7...

13 días ago | 0

| accepted

Plot electric field in plane
Hi! Perhaps this: clear close all Elec_F = readmatrix('data.txt') ; x = Elec_F(:, 1) ; y = Elec_F(:, 2) ; z = Elec_F(:,...

13 días ago | 0

Using to the 'fill' function to plot a filled polygon that are confidence intervals
Hi! patch function is an option, maybe there are other ways to do this. Perhaps this: x = (data(:1)); %x-axis data, 1 x 16 d...

14 días ago | 0

Hi! Please learn how to use for loops ... doc for The code below plots a graph similar to the one you attached, bmaybe stil...

14 días ago | 1

| accepted

Segment pink color spots from image
Hi! I recommend to use Color Thresholder. Workflow I used to get the pink color spots (picture attached) using the app is as ...

14 días ago | 0

how to import drivingScenario object into DrivingScenarioDesigner?
Hi ! Pass the scenario you have designed programmatically to the drivingScenarioDesigner. drivingScenarioDesigner(yourScenar...

14 días ago | 0

| accepted