답변 있음
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...

3년 초과 전 | 0

| 수락됨

답변 있음
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...

3년 초과 전 | 0

| 수락됨

답변 있음
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(:,...

3년 초과 전 | 1

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 1

| 수락됨

답변 있음
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 ...

3년 초과 전 | 2

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

3년 초과 전 | 0

| 수락됨

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

| 수락됨

답변 있음
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 =...

3년 초과 전 | 0

| 수락됨

답변 있음
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...

3년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Make a Plot with Functions
Make a plot and test

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

문제를 풀었습니다


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

3년 초과 전

답변 있음
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) ; ...

3년 초과 전 | 0

| 수락됨

답변 있음
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...

3년 초과 전 | 8

| 수락됨

답변 있음
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...

3년 초과 전 | 0

답변 있음
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 ...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 1

| 수락됨

답변 있음
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...

3년 초과 전 | 0

답변 있음
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...

3년 초과 전 | 0

답변 있음
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

3년 초과 전 | 0

| 수락됨

답변 있음
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) ; ...

3년 초과 전 | 0

| 수락됨

답변 있음
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, '/')...

3년 초과 전 | 0

답변 있음
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; ...

3년 초과 전 | 0

더 보기