Community Profile

# Abderrahim. B

### CES

Attivo dal 2021

Abderrahim Belissaoui

Programming Languages:
Python, C++, Java, MATLAB
Spoken Languages:
Arabic, English, French
Professional Interests:
Signal Processing, Control Systems, Wireless Communications, Radar

All

#### Content Feed

Visto da

Risposto
Converting 1d signal to 2d image
Hello! If i understood your question properly, you want to convert time series (signal is type of time series) to like-image to...

circa 2 mesi fa | 0

Risposto
I want to run my matlab script and dump that code into simulink
Hi! I understand that you have a script that you want to use within a Simulink model. I recommend that you use MATLAB Function ...

2 mesi fa | 0

Risposto
Finding unknow of equation
Hi! Matrix A is also unknown for us ^^ ! Workflow to find the unknowns is as follow: Derive equations A*B = C Create symbol...

3 mesi fa | 0

Risposto
How to make a m*2 matrix into n number of 2x2 matrices
Split A A = randi(10, 208, 2) ; % a mtarix of size 208x2 size(A) B = reshape(A, 2, 2, []) ; Access 2x2 matrices B1 = B(:,:...

5 mesi fa | 0

Risposto
How do I export 8 lists of S-parameters into one s2p file?
Hi! Using python I want to export the data into the s2p format . Assuming you wanted to say Using MATLAB..... Use rfwrite, che...

5 mesi fa | 1

| accettato

Risposto
Overwrite table data with 'Yes' or 'No' according to the logical index
Hi! Maybe this: load sample1.mat sampleinputarr = string(sampleinput.Variables) ; tvIdx = sampleinputarr(:,1) == "TV" ; sam...

5 mesi fa | 0

| accettato

Risposto
How to view saved matlab .fig file?
Use openfig

5 mesi fa | 0

Risposto
How to convert accelometer data voltage into accleration m\s^2?

5 mesi fa | 0

Risposto
How can I find the peak values of a curve?
Hi! Use findpeaks for each curve. Put findpeaks function in a for loop together with the plot function. Demo: randData = rand...

5 mesi fa | 1

| accettato

Risposto
Write file(s) with all properties of a MATLAB model
Hi! I prefer to use fprintf with fopen and fclose. Once you learn how to design formatSpecifications you will always use fprin...

5 mesi fa | 0

Risposto
How to plot two curves (created from curve fitting toolbox) on the same graph?
Hi! What I suggest is that you convert the code generated using the app to a function, modify it then use it within a for loop....

5 mesi fa | 0

Risposto
How to make data of equal array length?
Hi! Try this: N = 1:1:115 ; size(N) nL = length(N) ; FD = linspace(0,0.225399, nL) ; size(FD) AD = linspace( 0, 0.00404...

5 mesi fa | 0

| accettato

Risposto
Plot intervall function in Matlab
Hi! Use piecewise and fplot. syms t xThree = piecewise( t <= 2 ,1 ,(t > 2) & (t <= 4), t-2, t >= 4, 1) fplot(xThree) Hope t...

5 mesi fa | 0

Risposto
how can I draw bifurcation diagram for given code
Hi! MATLAB does not have a function to plot this kind of diagrams, but it has capabilities that you can use to write your own s...

5 mesi fa | 0

Risposto
How can I plot scatter triangle?
Hi! I don't think there is a ready in-build function in MATLAB that you can use. However, this file exchange has functions that...

5 mesi fa | 1

Risposto
I want to shift vector values one by one to the left
What about this: num = [1 1 1 1 1 0 0 0 0 0] ; for ii = 1: nnz(num) num = circshift(num, -1) end

5 mesi fa | 0

Risposto
Generate diagram in linear scale
Hi! See these 2 methods: P = [1 10 -13 -118 120] ; Method 1: figure plot(-100:100, polyval(P, -100:100)) Method 2: myPoly...

5 mesi fa | 0

| accettato

Risposto
get the data of dsp.spectrum Analyzer
Hi! To get data shown in spectrum analyzer, use getSpectrumData method. data = 2.*randi([0 1], 1e6, 1)-1; txFilter = comm.Ra...

5 mesi fa | 0

| accettato

Risposto
How can I select the "Neue Helvetica" instead of the default "Helvetica" as "fontname" ?
Hi! Use set: get(gca,'fontname') ; set(gca, 'FontName', "Neue Helvetica") ; get(gca, 'FontName')

5 mesi fa | 1

| accettato

Risposto
How to change only 1 bar in a graphic bar that is grouped
Hi! Try something like this: y = [2 2 3; 2 5 6; 2 8 9; 2 11 12]; barH = bar(y) ; barH(1).FaceColor = "flat" ; barH(1).CData...

5 mesi fa | 0

Risposto
Draw a 3D array containing only 0,1 into a 3D image
Hi! You have a volumetric data; I recommend that you use Volume Viewer to visualize it. An example below: M = randi([0 1], 10...

5 mesi fa | 0

Risposto
Heatmap plot temperature vs time
Hi! I know what is the issue. You have a timetable not a table and the first column related to time is not considered as variab...

5 mesi fa | 0

| accettato

Risposto
How to calculate the peak-to-peak amplitude of a waveform?
Hi! Use peak2peak function. Demo below: load('ecgSignals.mat') t = (1:length(ecgl))'; plot(t, ecgl) peak2peak(ecgl) ...

5 mesi fa | 0

Risposto
How to remove Noise using histogram In Matlab
Hi! Below is a workflow based on groupcounts function: clear load noisydata.mat figure subplot(211) plot(dataset, 'o') ti...

5 mesi fa | 1

Risposto
How can I store video of my for loop code?
I ve written the below code that you can refer to. clear t = 0:1/100:1-1/100; vObj = VideoWriter('AnimPPlot.avi'); open(vOb...

5 mesi fa | 0

| accettato

Risposto
How to write this in the for loop?
Try this -- for n = [1:100 200:300] continue % adding this just to demonstrate end

5 mesi fa | 0

Risposto
How can I add variables on the plot title
Hi! Pass the for loop index to num2str function then pass this to title. Something like this: time = 0:1/100:1-1/100 ; for ...

5 mesi fa | 1

| accettato

Risposto
How to apply color to histograms?
Hi! Not sure if this is what you want, but the concept is there. Work on the histogram handle and use colormap. websave("cible...

5 mesi fa | 0

Risposto
Is there a way to threshold out only the blue elements in this picture?
Hi! Segmentation based color should work properly in this case. Use the app color thresholder to intercatively segment the ima...

5 mesi fa | 0

Risposto
How can I filter out noise from a signal from representative noise samples?
Hi! Since you have the noise known and the measured signal to filter, I suggest to use adaptive filtering. DSP System Toolbox ...

5 mesi fa | 0