Community Profile # Issa

### CES

Last seen: Today 2021 以来アクティブ

|~ Together we Excel at MATLAB ~|

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

#### Statistics

All
• • • • • • • • • • • バッジを表示

#### Content Feed

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(:,:...

19日 前 | 0

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...

20日 前 | 1

| 採用済み

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...

25日 前 | 0

| 採用済み

How to view saved matlab .fig file?
Use openfig

26日 前 | 0

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

26日 前 | 0

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...

26日 前 | 1

| 採用済み

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...

26日 前 | 0

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....

26日 前 | 0

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...

26日 前 | 0

| 採用済み

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...

26日 前 | 0

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...

26日 前 | 0

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...

27日 前 | 1

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

27日 前 | 0

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...

27日 前 | 0

| 採用済み

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...

27日 前 | 0

| 採用済み

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')

28日 前 | 1

| 採用済み

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...

28日 前 | 0

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...

28日 前 | 0

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...

29日 前 | 0

| 採用済み

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) ...

29日 前 | 0

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...

29日 前 | 1

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...

29日 前 | 0

| 採用済み

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

29日 前 | 0

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 ...

29日 前 | 1

| 採用済み

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...

30日 前 | 0

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...

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 ...

How do i count numbers ending in 3
This: x =[234 352 298 213 365 321 293 213] ; xs = strsplit(num2str(x), ' ') ; total = nnz(endsWith(xs, '3'))

Problem in making multiple scatterplots/subplots?
Hi! If my understanding is correct, there is a function called plotmatrix that comes with MATLAB and that I believe is more sui...

How to plot transfer function with cos or sin
Hi You have those cosine components which means that your system is non linear,and transfer function is only for linear systems...