已回答
Python code Simulink HDL coder
HDL Coder cannot directly generate HDL code for an FPGA from a Simulink model that contains Python code blocks. This is because ...

9 months 前 | 1

已回答
cheatsheet for dealing with structures?
Understanding MATLAB Data Containers Structures (struct): A structure is a data type in MATLAB that allows for the storage of d...

9 months 前 | 0

已回答
how can I read and draw a plot and histogram from txt file on Matlab.
@Yaren Duygu Atalay An intial attempt to the problem: % Define the path to your data file filePath = 'Test.txt'; % Ensure this...

9 months 前 | 0

已回答
To plot mean signal(mean of multiple signals) in matlab figure?
@SUDEEP SINGH RAWAT You are using simulink?. To what I currently understand about your query. If you are planning to use Simuli...

9 months 前 | 0

| 已接受

已回答
FFT treatment on Raman data
@Jun Some important points to consider: FFT for Removing 0-Frequency Noise: Convert to Time Domain: Transforming Raman spectro...

9 months 前 | 0

| 已接受

已回答
Error using surf Z must be a matrix, not a scalar or vector.
To correct this, you need to use X and Y from the output of meshgrid in your calculation of Z, ensuring that Z is a matrix where...

9 months 前 | 0

已回答
How can I skip the rest of an if statement?
if n > 1 if a == 1 disp('Haha') % No additional commands here - skips directly to the end of the outer if...

9 months 前 | 0

已回答
How to use and edit rows and values of a data tip when created by mouseclick?
% Adjust as per your requirment % Example data x = 1:10; % x values assumed y = rand(1, 10); % y values assumed filename...

9 months 前 | 0

已回答
Interpeting results of residue command
@brooke The residue command in MATLAB is used to perform partial fraction expansion of a rational function, which is typically r...

9 months 前 | 0

| 已接受

已回答
I cannot receive from udp
@joshua dori In such scenarios I often follow these guidelines as they may help to narrow down the issue. If after these steps y...

9 months 前 | 0

已回答
vectorized operations on symbolic functions
syms x1 x2 x3; % symbolic variables y = x1^3/3 + x2^2/2 - x3; % symbolic function y % Generate a random matrix X with 500 ro...

9 months 前 | 0

| 已接受

已回答
I have two tables. How can I compare the values in the first column of each table, then do a calculation if the values are equal?
@Srh Fwl A basic idea. % Example initialization with an additional data column Table1 = table([1; 2; 3; 4; 5], rand(5, 1), 'Va...

9 months 前 | 1

| 已接受

已回答
How do I get my old university account as in gmail account?
@MathWorks Support Team can provide a better recommendation. ------------------------------------------------------------------...

9 months 前 | 0

已回答
Plotting lines with quadruplets R-G-B-Alpha ?
You can set the transparency (alpha) of lines and other graphical objects by specifying a fourth element in the color vector. Th...

9 months 前 | 0

已回答
How do I plot a timeseries?
SInce I dont have your exact data file. Here is the initial approach you can try: % Step 1: Import the Data filename = 'your_f...

9 months 前 | 0

已回答
how to make matlab calculate (x) in PDE
% Define constants and parameters kp0 = 140270; Eap = 43900; kd0 = 0.355; Ead = 17400; T = [333 334 335 336 337 338 339 340...

9 months 前 | 1

| 已接受

已回答
How to set the 'DisplayName' properties for a bar chart with multiple sets of bars directly from the call to 'bar', not using 'set' afterwards
As per my understanding and the working code you shared. It's essential to understand that the syntax you attempted to use dire...

9 months 前 | 0

已回答
how to vectorize 4 for loops with several index combinations?
B = rand(3,3,3,3); % Preallocating A for the output A_loops = zeros(size(B)); tic; % Start timing for i=1:3 for j=1...

9 months 前 | 1

| 已接受

已回答
Multi client TCP/IP communication
@chizom wornu Some of the recommendations. See also the reference link. MATLAB's Limitations: Unfortunately, MATLAB's built-in ...

9 months 前 | 1

| 已接受

已回答
how to show P-values in correlation map?
% Example data for demonstration % Replace these with your actual corrMap and pValueMap variables corrMap = rand(100); % 100x1...

9 months 前 | 1

| 已接受

已回答
Unable to Programm stm Microcontroller.
@Mihir Make sure STM32CubeMx instance is not already open and the internet access is working. Also, if its better to know if yo...

9 months 前 | 0

已回答
Dual-core STM32 hardware support
When can we expect to see hardware support for dual-core controllers ? Only Mathwork Staff can tell when they are planning to d...

9 months 前 | 1

已回答
Interp2 with changing y and z-axis
@Christoph Try this a quick overview: Step 1: Create a Regular Grid First, determine the range of your x and y data and create...

9 months 前 | 0

已回答
Getting error in a code.
The error Unable to resolve the name 'agent.getAction'. means that MATLAB cannot find a method getAction in your agent object. E...

9 months 前 | 0

| 已接受

已回答
Trouble with Vitis Model Composer 2023.2! MATLAB R2021b crashes when I want to open the Model Composer Hub component.
@Zeinab Please see this compatability link: Which versions of Xilinx System Generator (now Vitis Model Composer) support which ...

9 months 前 | 0

已回答
How to remove exponential answers
Of what I understand about the problem: Assuming x and error are the values you want to print in a fixed-point format without e...

10 months 前 | 1

已回答
How to code the following in MATLAB ?
With multiple antennas at the receiver, you can think of ℎ as a vector (or matrix with a single column) where each element ℎ_n c...

10 months 前 | 0

已回答
How to set a sample time in a Discrete Transfer Fcn??
@MathWorks Support Team I am having the same issue and stuck on this part. None of the solutions worked for me. Could @MathWork...

10 months 前 | 1

已回答
Extract Numbers from Mixed string
% Your input string B = 'single snap detector: 1 S2L:232867 S2R:3151621 S3L:0 S3R:0'; % Regular expression pattern to match ...

10 months 前 | 0

| 已接受

已回答
TCP connection not always reading data, data always being generated.
@Sophie Dewil Some of the possible troubleshooting steps: 1. Buffer Overflow If the receiving buffer in MATLAB is not read qui...

10 months 前 | 0

加载更多