Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
lookup table/n dimension interpolation
Simulink has a number of blocks implementing different types of lookup functions.

4 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
How to put the value of guess into equation
rho is not defined. Should it be rho01?

4 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 1

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Load more