已回答
How to solve: Input datastore returned more than one observation per row for network input 2.
The issue is that trainNetwork expects the feature input to be a numfeatures x 1 cell array. You are passing in a 1 x numfeature...

5 months 前 | 0

已回答
Unable to request a trial license for MATLAB Web App Server
MathWorks is currently working on an issue that has affected segments of our online systems. Some of our online services are no...

5 months 前 | 0

已回答
Adding Drop Down Control
You can only add controls to a live script. Place it where you would define the waveform variable (here, x1 or x2). Assign the r...

5 months 前 | 1

| 已接受

已回答
Help Changing Class/Type In A Table
The best solution would be to fix how your data is imported. Then you don't hvae to convert it. You could use convertvars, or j...

5 months 前 | 0

已回答
Where is this menu when debugging a program with matlab2024b and making the program run to the cursor position matlab2024b调试程序的时候让程序运行到光标处这个菜单在哪里
I believe this is now called 'Run to Here'. It is accessed by rt clicking on the line number and selecting the otpion in the men...

5 months 前 | 2

已回答
How to plot function x(2)=-1/2*x(1)+t?
Did you mean to assign the result of -1/2*x(1)+t; to the second column of x? x(:,2)=-1/2*x(1)+t; If so, then the code runs at ...

5 months 前 | 1

| 已接受

已回答
Inserting additional data in an already created table
The issue is that char arrays must be padded so that they all have the same length. The value you are assigning does not have th...

5 months 前 | 0

| 已接受

已回答
[Image Alignment] Align two images taken under different zooming and lighting conditions
I used the Registration Estimator App, which produced the following resutls. img1 = imread('img1.jpg'); img2 = imread('img2.jp...

5 months 前 | 1

| 已接受

已回答
How put different colors in different range of values in colorbar?
You need to define a colormap with the number of unique colors you want, and then specify the colorbar ticks. We don't have the...

5 months 前 | 0

| 已接受

已回答
Getting all max, min values of a function as a set of coordinate points
I would use findpeaks syms x y real y=abs(x^3-9*x); [X,Y] = fplot(y, [-5 5]); [pk, loc] = findpeaks(Y,X); [pkN, locN] = fi...

5 months 前 | 0

已回答
Spectral Analysis Techniques Course _ Issue plotting a window created with Window Designer in MATLAB
There seems to be a bug with this task. Please report this directly to MathWorks here: https://www.mathworks.com/support/contact...

6 months 前 | 2

| 已接受

已回答
How to set variable names using Readtable with hierarchical categories (Excel file with merged cells / multiple header rows)
There may be a better way, but I would do this in 2 steps. First, read the headers and create variable names, then read the data...

6 months 前 | 0

已回答
How to set black color for zero (or nan) values in surf and contourf plots?
First, the autumn colormap does not contain black, so you will need to do some coding for this to happen. Additionally, nan val...

6 months 前 | 2

已回答
logarithmic binning of "x" values
I'm not sure the end result is much simpler, but the function that comes to mind is discretize. You'd still need to define your ...

6 months 前 | 1

| 已接受

已回答
Navigate to your MATLAB desktop and click the Apps tab from the MATLAB Toolstrip. Under Simscape, click the Battery Builder Icon.
Estas buscando en el Apps tab de MATLAB? No se encuentra Battery Bulider en el Apps tab de Simulink. Esta instalado Simscape ...

6 months 前 | 0

已回答
Is mlcpostinstall.exe a valid matlab file?
This is the same name used for MATLAB Drive Connector. What looks odd to me is the version date in the folder path.The current d...

6 months 前 | 0

| 已接受

已回答
Help Using Variable In Workspace in For Loop
Your for loop has been defined inside a function. Functions have their own workspace. You need to either pass the variable into ...

6 months 前 | 0

| 已接受

已回答
Varying two variables in a for loop for one output
I would remove the for loop and use meshgrid instead. m_water_range = linspace(5,40,45); N_range = linspace(5,50,45); [m...

6 months 前 | 0

| 已接受

已回答
undocking command window in new desktop
It looks like only the Editor can be undocked in the beta version of the new desktop in R2024b.

6 months 前 | 0

| 已接受

已回答
Progress seems to be stuck at a certain percentage in the MATLAB Simulink course
Please contact MathWorks directly: https://www.mathworks.com/support/contact_us.html

6 months 前 | 0

已回答
How to find correct "feature" name for parallel computing toolbox?
The easiest way for me is to use the toolbox, then run license('inuse') Starting parallel pool (parpool) using the 'Processes' ...

6 months 前 | 4

已回答
How do I determine if a column header exists in a table?
I would access the table varaible names and check if 'x' is a member or not. T = readtable('patients.xls') varNm = T.Propertie...

6 months 前 | 0

已回答
exporting-to-excel-spreadsheets
You will need to load each file into MATLAB in order to process the data. There are various techniques depending on how your dat...

6 months 前 | 0

| 已接受

已回答
time series graph representation of EEG signals
No way of knowing without seeing the code used to create the plots. However, the images appear to be using the default colors, s...

6 months 前 | 0

已回答
Table resorting after deleting selected rows from the sorted Table
You haven't shared the code you are using to complete your tasks. That will allow us to say why it is happening. However, here...

6 months 前 | 1

已回答
How do I fix the error displayed on the code below
Your variable K_global does not have as many rows as you expected. Specifically, it only has 9, so we have to assume that your i...

6 months 前 | 0

已回答
When using a writetable to write a table file containing data in datetime format to Excel, the saved datetime data in Excel is not in the same format as the datetime data
For Excel files, writetable writes table variables containing datetime arrays as Excel dates. The time data is still all there, ...

6 months 前 | 0

| 已接受

已回答
How do I delete data from a channel?
See this answer: https://www.mathworks.com/matlabcentral/answers/2174913-deleting-data-from-the-server

7 months 前 | 0

已回答
Bug in readtable()? - if the first values in a CSV's column are missing, the whole column is misinterpreted
I wouldn't call it a bug. It's an artifact of trying to autodetect the format, which will naturally not get it right every time....

7 months 前 | 0

已回答
Why do I receive the error: Unrecognized function or variable 'V_o'?
The most likely reason is that you have not yet defined a variable with that name in your code. Did you define a variable V_0 or...

7 months 前 | 1

加载更多