답변 있음
Setting up communication via USB device with instrument
USB devices respond to hardware queries by listing a series of "endpoints". Each "endpoint" corresponds to a different behaviour...

거의 2년 전 | 0

답변 있음
Custom datastore - why can't I just have a datastore with doubles?
Use arrayDatastore (since R2020b)

거의 2년 전 | 1

답변 있음
How to find the roots of a non-polynomial equation in terms of symbolic variables ?
The Symbolic toolbox is not able to solve such equations. syms a A B K L real D = [cosh(K*L)-cos(K*L), sinh(K*L)-sin(K*L); sin...

거의 2년 전 | 0

답변 있음
Always Error is seen
Most likely, you are using surf() or contour() and the complaint is that Z is not at least a 2 x 2 matrix. The most common caus...

거의 2년 전 | 0

답변 있음
Why is matlab creating multiple figures
You are calling figure() within your while loop, so each time you create a new figure. You should probably be calling figure() ...

거의 2년 전 | 0

답변 있음
how to open .mhd file
See read_mhd() from https://www.mathworks.com/matlabcentral/fileexchange/47457-simple-viewer-3d or read_mhd() from https://www...

거의 2년 전 | 0

| 수락됨

답변 있음
Size of the left side different from the right side
for i=1:108 if isempty(SPAnsVector(1,i))==0 PersonalSPQ(1,j)=i; PersonalSPAns(1,j)=SPAnsVector(1,i); because...

거의 2년 전 | 0

답변 있음
find best fit ellipse to a set of data points
https://www.mathworks.com/matlabcentral/answers/98522-how-do-i-fit-an-ellipse-to-my-data-in-matlab https://www.mathworks.com/m...

거의 2년 전 | 2

답변 있음
append (not strcat) to combine strings with whitespace (\n)
app.DebugField.Value = append(app.DebugField.Value, "rew LB" + newline);

거의 2년 전 | 0

답변 있음
How to change xlim to specific range only?
how to change xlim to specific to 0 :3:9 ylim to 30:30:300 That is not possible. xlim() expects to be passed a limit method (s...

거의 2년 전 | 0

답변 있음
how can I compute MI (mutual information) for two time series?
https://www.mathworks.com/matlabcentral/fileexchange/13289-fast-mutual-information-of-two-images-or-signals https://www.mathwo...

거의 2년 전 | 0

| 수락됨

답변 있음
Matlab live script - symbolic math looks terrible
Refering to https://www.mathworks.com/matlabcentral/answers/2143474-syms-suddenly-doesnt-work : You have installed a different ...

거의 2년 전 | 0

| 수락됨

답변 있음
Syms suddenly doesnt work
Line 56 of syms in R2023b is comments -- the comments go to line 97. Therefore, you are not using the regular syms code. Perha...

거의 2년 전 | 0

| 수락됨

답변 있음
Prevent changing values in GUI
But the problem is if I go inside the angle.Value and write some number not in range or limit of angle then even though the stat...

거의 2년 전 | 0

답변 있음
Find overlap percentage of two plots
It is not clear to me that it makes sense to talk about "overlap" for stem plots. stem plots do not have any inherent dot size, ...

거의 2년 전 | 0

답변 있음
Find Index of Selected Drop Down in another variable (App Designer)
The default Value property of uilistbox is the index of the item selected. If, though, the ItemsData property is set, then the V...

거의 2년 전 | 0

답변 있음
Ho do I save the values of While at each hour?
Adjusted to save each iteration. A cell array is used because different iterations might run the while loop for different number...

거의 2년 전 | 0

답변 있음
compute sum of polynomial square
syms x eqn = (1+x)^2 + (3+x)^2 +2*x expand(eqn)

거의 2년 전 | 1

| 수락됨

답변 있음
How do I copy figure properties from one to another?
The below code sets all sensible properties. fig1 = openfig('Fig 1.fig'); fig2 = openfig('Fig 2.fig'); propnames = fieldnam...

거의 2년 전 | 0

답변 있음
I want my code conditions checked every 1/2000th of a second, how can I do that?
You will not be able to pause() more accurately than 1/100 of a second on Windows. (On Mac it is about 1/1000 of a second.) The...

거의 2년 전 | 0

답변 있음
Wrong font size for Default Axes Titles with set(groot,"DefaultAxesTitleFontSize")
Latex interpreter ignores font names. You control the font by using things like \mathrm \mathsf \mathit \textrm \textsf https...

거의 2년 전 | 0

답변 있음
How to use all cores for running a Simulink model?
Simulink internally compiles down to a mix of algebraic and control operations. The algebraic operations are automatically opera...

거의 2년 전 | 1

답변 있음
Reshape nested cell arrays into the a different nested cell array organization
No, there is no way to do it. Consider that you have your B 48 x 1 for each A 691 x 1. So there are 48*691 = 33168 different B....

거의 2년 전 | 0

| 수락됨

답변 있음
Plotting two surface plots in the same figure using two different colormaps
You have two choices: Use seperate plotting axes. Each axes can have its own colormap. Make sure you pass the axes handle into ...

거의 2년 전 | 0

답변 있음
wt is the Activation Key for activating MATLAB Simulink
The activation key is LULTR-43226-JEQHE-95758-TMSRD If this does not work for you, then you should contact Mathworks for free ...

거의 2년 전 | 0

답변 있음
My question is what is the value i am getting as the output of my code.
You are getting garbage values, for a garbage query. You have used floating point quantities in a symbolic equation. You have u...

거의 2년 전 | 1

답변 있음
How to treat 200 rows of data as an event when constructing a Timetable, as a piece of data, the size is 200*1
If your data is all numeric (or convertable to numeric), then: Use mat2cell to convert the data into a cell array whose entries...

거의 2년 전 | 1

| 수락됨

답변 있음
How do I write an excel file with specified formats for my data entries?
No. You will need to use something like varfun to convert your numbers to appropriate text. Leaving aside the ##0.00E+0, the p...

거의 2년 전 | 0

답변 있음
What does "Interrupt while evaluating Button PrivateButtonPushedFcn." mean?
It means that you pressed control-C while the callback for PrivateButtonPushedFcn was active.

거의 2년 전 | 0

| 수락됨

답변 있음
How to Sort Matrix Rows from Highest to Lowest
MatrixA = cell(3,2); MatrixA{1,1} = "D1"; MatrixA{2,1} = "D2"; MatrixA{3,1} = "D3"; MatrixA{1,2} = 5; MatrixA{2,2} = 15; M...

거의 2년 전 | 1

더 보기