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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 1

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

más de 2 años hace | 0

Respondida
Can anyone please help me in correcting the code for ns vs thickness AlN
Hi! Please learn how to use for loops ... doc for The code below plots a graph similar to the one you attached, bmaybe stil...

más de 2 años hace | 1

| aceptada

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

más de 2 años hace | 2

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

más de 2 años hace | 0

| aceptada

Respondida
License server problems in recent releases for Mac OS
Hi! In this case , I would recommend to contact MathWorks Suppport: https://www.mathworks.com/support/contact_us.html?s_tid=s...

más de 2 años hace | 0

Respondida
Input capture simulink arduino
Hi! This block was introduced in R2020b, but first you need to install the Add-On Simulink Support Package for Arduino Hardware...

más de 2 años hace | 0

| aceptada

Respondida
lm having a problem with code for dispersion when ever l try to run, it say the variable 'dispersion' in line 20 is changing the size of every loop so how do l solve this
Hi! I beleive that s only a warning, to avoid it preallocate for Disperssion variable. Demo: Without preallocation : A =...

más de 2 años hace | 0

| aceptada

Respondida
How to get inverse discrete time Fourier transform (IDTFT) of an array?
Hi! Are you trying to implement DFT and its IDFT based on their equations ? There are optimized algorithms to calculate these...

más de 2 años hace | 0

| aceptada

Resuelto


Make a Plot with Functions
Make a plot and test

más de 2 años hace

Resuelto


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

más de 2 años hace

Resuelto


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

más de 2 años hace

Resuelto


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

más de 2 años hace

Respondida
2D plot with linked Nan values
Hi! Perhaps the below code works for you: clear close all % Creating dummy data latitude = 1:32 ; sodium = rand(1,32) ; ...

más de 2 años hace | 0

| aceptada

Respondida
Why does keyboard shortcuts like ctrl+A, ctrl+c, ctrl+v, ctrl+f etc. does not work on MATLAB (on Linux platform)?
Hi! I had the same issue and this is how I fixed it: MATLAB toolstrip >> Home >> Preferences >> Keyboard >> Shortcuts, set the...

más de 2 años hace | 7

| aceptada

Respondida
Plotting timeseries data with quality control
Hi! Below a code with 2 solutions, pick the one you believe answers your question better: clear close all % Putting your d...

más de 2 años hace | 0

Respondida
Plot figure for certain elements of readtable output
Hi! As per my understading of your question, the code below should work: %% Create table with 2 variables (Log and Lat) data ...

más de 2 años hace | 0

Respondida
filtering data inside a table and storing multiple tables in one big table
Hi! 'After reading some data files where each file contains data stored in a table' >> EDP has only one table !! Assuming you...

más de 2 años hace | 0

Respondida
I need to add this equation in simulink
Hi ! To implement x^3: use math block, open the block and change function to pow . To implement |x| , use abs block Hope thi...

más de 2 años hace | 0

Respondida
how do i plot 3 sets of data using different colors based on one data set
Hi! Since you did not share your data to test .. I am creating some dummy ! clear close all % Create some sample data: time...

más de 2 años hace | 0

Respondida
how to import asc.gz into matlab
For .gz file, you can use gunzip Some examples can be found in this documentation page: https://www.mathworks.com/help/matlab...

más de 2 años hace | 0

Respondida
Can't load file from path (MacOS) ?
Hi Bioprinting WOS.txt file name has a space in between. LOad function will not work in this case. You can rename the file...

más de 2 años hace | 1

| aceptada

Respondida
How to use xline?
Hi! Try this sig = rand(1,10000) ; x = [1648 2871 4022 6216 7327 8416] ; figure plot(sig); hold on xline(x, '--r') Hope...

más de 2 años hace | 0

Respondida
How to find the nearest matrix between two matrices?
clear A = [2013,3,17,1,6,0]; % 1x6 double B = [2013,3,17,0,5,1.012; 2013,3,17,1,6,20.47]; % 4x6 double A = datetime(A) ; B...

más de 2 años hace | 0

Respondida
How to convert table with datetime in numeric (seconds)
Hi! Try this: load Zeitt.mat time_sec = seconds(Zeitt.Time - Zeitt.Time(1)) Hope this helps

más de 2 años hace | 0

| aceptada

Respondida
How to add columns with fixed values to their exact position in the table
Hi, Use addvars instead of dot notation to add columns to your table. Demo: load patients T = table(Age,Gender,Smoker) ; ...

más de 2 años hace | 0

| aceptada

Respondida
Find a specific value in a csv file
Hi! Try this: % Create, split, and extract from part 1 part1 = "A/1/2/" + string(2022:-1:2018) ; part1 = split(part1, '/')...

más de 2 años hace | 0

Respondida
System of 4 non-linear equations yields Empty sym: 0-by-1
Hi! Make sure to recheck equations parentheses. clear % parameters I_sc = 0.473; V_oc = 2.6; V_m = 2.32; I_m = 0.455; ...

más de 2 años hace | 0

Cargar más