답변 있음
How can I read this text file in MATLAB?
There are extra tabs at the end of the lines that may be throwing it off. I used the data import wizard in MATLAB to generate t...

대략 4년 전 | 0

| 수락됨

답변 있음
Too many Arguments for trainNetwork()
See the MATLAB help article on "Support Variable Number of Inputs", you probably want to use varargin. Also "Parse Function Inp...

대략 4년 전 | 0

답변 있음
how can I make the code generating all the possible combinations of integer numbers more efficient
This runs very fast. But if you are scaling up to a bigger problem, you can probably precompute the value of the factorial oper...

대략 4년 전 | 0

| 수락됨

답변 있음
Matlab equivalent of python code to rotate an image
If you are using imwarp then you have the image processing toolbox. Try looking at imrotate.

대략 4년 전 | 0

답변 있음
How can I create a new matrix from selected number of columns of an existing matrix
x = 1 2 3 5 >> A = rand(5,10) A = 0.8147 0.0975 0.1576 0.1419 0.6557 0.7577 0...

대략 4년 전 | 0

| 수락됨

답변 있음
How can I find the last alpha_k value?
See the article "Anonymous Functions" in the MATLAB help. You must pass all parameters to the anonymous function as inputs, so ...

대략 4년 전 | 0

답변 있음
How can I generate a comma separated list from the MATLAB vector s = [1, 2, 3, 4]?
>> s = 1:4 s = 1 2 3 4 >> stringOut = sprintf("%d,", s) stringOut = "1,2,3,4,"

대략 4년 전 | 0

답변 있음
how to plot this equation ?
This lines needs an extra set of parenthesis: signal = signal + g(k).*exp((1i*2*pi*k*t)/((2^m)-1)); But the way you are us...

대략 4년 전 | 0

답변 있음
Multiple Linear Regression; Terms in X
It is a bilinear fit so the regression is attempting to find the optimal b vector that fits a two-input function F of X and Y: ...

대략 4년 전 | 1

답변 있음
lookup table/n dimension interpolation
Simulink has a number of blocks implementing different types of lookup functions.

대략 4년 전 | 0

답변 있음
Measure the distance of a curve within an image
You could use imshow to load and display the image, then ginput get get a series of manually selected points on the line. If yo...

대략 4년 전 | 0

답변 있음
Suggestions to improve script performance?
The MATLAB editor has some helpful suggestions, removing unnecessary output and so on. Have you tried using the Profile button ...

대략 4년 전 | 0

답변 있음
how to parse different sections of text file into separate matrices
fgets and textscan, processing line by line. Then convert the cell arrays to row vectors and combine into your AR1 and AR2 matr...

대략 4년 전 | 0

답변 있음
Fastest large SVD computation in multithreaded machine?
If you have the parallel computing toolbox and a good NVIDIA GPU, try using gpu Arrays. Try svds if you don't need all the sing...

대략 4년 전 | 0

답변 있음
How to put the value of guess into equation
rho is not defined. Should it be rho01?

대략 4년 전 | 0

답변 있음
How to open .int image Using Matlab?
Calling imformats on my Windows machine, "INT" is not in the list. Google says that may be an SGI file format? If you are not ...

대략 4년 전 | 0

답변 있음
Get function argument name and type
See the article "Function Argument Validation" in the MATLAB help. MATLAB will silently convert for you if possible, so you may...

대략 4년 전 | 0

답변 있음
How do i use and index an array in an "else-if" expression in Simulink?
What is L_R? I do not think the if subsystem block in Simulink allows any symbols other than uN, where N is between 1 and the n...

대략 4년 전 | 0

| 수락됨

답변 있음
Incorrect number of input arguments
Might need to see more code, or simplify your example down to one that does not depend on "app". Initial guess is that the titl...

대략 4년 전 | 0

답변 있음
Dont know how to make a plot using for loop
It depends on how your time and data are stored, but you can always use the hold command to sequentially add plots in a for loop...

대략 4년 전 | 0

답변 있음
How to get two arrays from .txt file?
textscan can handle it if you read line by line: >> fin = fopen('arrays2.txt', 'rt') fin = 4 >> fgets(fin) a...

대략 4년 전 | 1

답변 있음
Is there a way to convert times in this format to double, so I can perform mathematical operations on them?
MATLAB has a lot of date and time functions, as described by the article "Dates and Time" in the help documentation. If you are...

대략 4년 전 | 0

답변 있음
Plotting values from a double array based on information from a cell array
Using interp1 for table lookup and the text function it looks like this is coming pretty close to what you describe. I attached...

대략 4년 전 | 0

답변 있음
drop down for imread
I do not see that option available. But if you call uiopen to let the user select an image and pass their selection as the inpu...

대략 4년 전 | 0

답변 있음
Ideal Linear Prediction of One Time Series Given Another
Submitting again as an answer... The curve fitting toolbox has a function fit(), or the curve fitting tool for a more interacti...

대략 4년 전 | 0

답변 있음
legacy_code: Build errors because of compilerOptions
Not sure if you already found this answer or not, but thought I would post since your question actually helped me with the forma...

대략 4년 전 | 0

| 수락됨

질문


Rapid Accelerator support for C++ targets
Are there any plans for Rapid Accelerator to support C++ targets? We have models using C++ S-Functions and cannot use these wit...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Please support hot reload with Visual Studio 2022
Visual Studio 2022 was released in November and includes hot reload support for C/C++ development. It would be great if MATLAB ...

대략 4년 전 | 답변 수: 0 | 1

0

답변

질문


Embedded coder handling data dictionary parameters differently depending on their location in a model hierarchy
I am using MATLAB and Simulink R2017A to build two models. Both models have data dictionaries containing Simulink Parameters wi...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Question about Embedded Coder handling of tunable parameters
I have two models using data dictionaries with Simulink Parameters having storage class SimulinkGlobal. One model references th...

7년 초과 전 | 답변 수: 0 | 0

0

답변

더 보기