回答済み
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...

2年以上 前 | 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(:,...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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 ...

2年以上 前 | 2

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

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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 =...

2年以上 前 | 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...

2年以上 前 | 0

| 採用済み

解決済み


Make a Plot with Functions
Make a plot and test

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

回答済み
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) ; ...

2年以上 前 | 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...

2年以上 前 | 5

| 採用済み

回答済み
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...

2年以上 前 | 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 ...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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...

2年以上 前 | 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

2年以上 前 | 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) ; ...

2年以上 前 | 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, '/')...

2年以上 前 | 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; ...

2年以上 前 | 0

回答済み
get specific magnitude response value given a specific frequency from a freqz graph
Hi! Try this: % Since you did not share Hz, I am loading tfData.mat load('tfData.mat','sys1'); Hz = sys1 ; [b, a] = tfda...

2年以上 前 | 0

| 採用済み

さらに読み込む