Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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.

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 4 años hace | 0

Respondida
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,"

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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: ...

alrededor de 4 años hace | 1

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

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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 ...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

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

alrededor de 4 años hace | 0

Respondida
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 ...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 1

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

Respondida
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...

alrededor de 4 años hace | 0

| aceptada

Pregunta


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...

alrededor de 4 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 4 años hace | 0 respuestas | 1

0

respuestas

Pregunta


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...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 7 años hace | 0 respuestas | 0

0

respuestas

Cargar más