回答済み

Displacements and velocity from acceleration integration (accelerometer data)

Integration naturally has some error when integrating a sampled signal because the integration algorithm has to make assumptions...

Displacements and velocity from acceleration integration (accelerometer data)

Integration naturally has some error when integrating a sampled signal because the integration algorithm has to make assumptions...

8ヶ月 前 | 0

質問

Does buildtool offer parallel task execution

Very little information is available on the new buildtool and buildplan features in R2022B. I cannot install R2022B at this tim...

8ヶ月 前 | 0 件の回答 | 1

回答済み

How to change simulink variable from matlab script?

Here is a link to documentation on working with model workspace variables: https://www.mathworks.com/help/simulink/ug/change-...

How to change simulink variable from matlab script?

Here is a link to documentation on working with model workspace variables: https://www.mathworks.com/help/simulink/ug/change-...

8ヶ月 前 | 1

| 採用済み

回答済み

The Premultiply Convention in Geometric Transformations does not support C/C++ code generation?

This is just a notational thing right? Why would it affect how the code is generated and executed? The code generation and exe...

The Premultiply Convention in Geometric Transformations does not support C/C++ code generation?

This is just a notational thing right? Why would it affect how the code is generated and executed? The code generation and exe...

8ヶ月 前 | 0

回答済み

How to find the correlation between 14 subjects

xcorr2 is the MATLAB function for 2D cross correlation

How to find the correlation between 14 subjects

xcorr2 is the MATLAB function for 2D cross correlation

8ヶ月 前 | 0

回答済み

Loop through ,mat files and find a specific column with conditions

If you have MAT files you load them using the load function. No need to use fopen or fread.

Loop through ,mat files and find a specific column with conditions

If you have MAT files you load them using the load function. No need to use fopen or fread.

8ヶ月 前 | 0

回答済み

Non-compatibility of Microsoft Visual C++ 2022 with CUDA 11.6/11.8 toolkit on MATLAB R2022a

The GPU Coder support for VS 2022 is not yet in R2022A or R2022B yet, so that might be the problem with the combination of produ...

Non-compatibility of Microsoft Visual C++ 2022 with CUDA 11.6/11.8 toolkit on MATLAB R2022a

The GPU Coder support for VS 2022 is not yet in R2022A or R2022B yet, so that might be the problem with the combination of produ...

8ヶ月 前 | 0

| 採用済み

回答済み

Trying to save the outputs of a for loop

The first value of R in the loop is 20, and you are reassigning/overwriting zeros to e on every pass through the loop. Before t...

Trying to save the outputs of a for loop

The first value of R in the loop is 20, and you are reassigning/overwriting zeros to e on every pass through the loop. Before t...

8ヶ月 前 | 0

| 採用済み

回答済み

Fiber detection Hough Transform

Very small and fine features. You might try the 2D FFT and see if this provides a better way to estimate rotation.

Fiber detection Hough Transform

Very small and fine features. You might try the 2D FFT and see if this provides a better way to estimate rotation.

8ヶ月 前 | 0

回答済み

read text file - header and numerical part

Try detectImportOptions and readtable, setting the VariableNamesLine of the options structure to the line that you are looking f...

read text file - header and numerical part

Try detectImportOptions and readtable, setting the VariableNamesLine of the options structure to the line that you are looking f...

8ヶ月 前 | 0

回答済み

How to create RGB image from multispectral image?

I don't see in the documentation of the image function that it accepts a parameter list like you are using. You can combine the...

How to create RGB image from multispectral image?

I don't see in the documentation of the image function that it accepts a parameter list like you are using. You can combine the...

8ヶ月 前 | 0

回答済み

the speed of gif is very slow!

Have you tried using the performance analysis tool in the MATLAB Editor to identify where the most time is being spent and this ...

the speed of gif is very slow!

Have you tried using the performance analysis tool in the MATLAB Editor to identify where the most time is being spent and this ...

8ヶ月 前 | 0

回答済み

How to check if a generated number is between 2 values

You can use the logical operator & to combine multiple tests. You can either get an index vector with the results of all tests ...

How to check if a generated number is between 2 values

You can use the logical operator & to combine multiple tests. You can either get an index vector with the results of all tests ...

8ヶ月 前 | 0

回答済み

When I try to use the function 'magic(n)', Matlab says that the execution of the script magic is not supported

If your magic.m file does not have "function" at the top, then it is a script and not a function. Scripts cannot be passed argu...

When I try to use the function 'magic(n)', Matlab says that the execution of the script magic is not supported

If your magic.m file does not have "function" at the top, then it is a script and not a function. Scripts cannot be passed argu...

8ヶ月 前 | 0

回答済み

Simulink variable signal size

You cannot change the size of signals during a simulation run. That is what your MATLAB function is doing, trying to add new da...

Simulink variable signal size

You cannot change the size of signals during a simulation run. That is what your MATLAB function is doing, trying to add new da...

8ヶ月 前 | 0

回答済み

How do you create a Stateflow Chart with inputs and outputs being vectors, which change every timestep?

When you add an input or output to a chart block in the Simulink model, you can set the size to something other than -1. But ma...

How do you create a Stateflow Chart with inputs and outputs being vectors, which change every timestep?

When you add an input or output to a chart block in the Simulink model, you can set the size to something other than -1. But ma...

8ヶ月 前 | 0

回答済み

How to rotate or mirror the contents in the figure with axes?

Can you re-plot with new y values, y = 500 - y? Basically reverse the order of the y values before plotting.

How to rotate or mirror the contents in the figure with axes?

Can you re-plot with new y values, y = 500 - y? Basically reverse the order of the y values before plotting.

8ヶ月 前 | 0

回答済み

Plotting a bird using mathematical equation issue.

The radius values Rk do not seem to be used properly. Are you calling scatter correctly? Looks like maybe you need three argum...

Plotting a bird using mathematical equation issue.

The radius values Rk do not seem to be used properly. Are you calling scatter correctly? Looks like maybe you need three argum...

8ヶ月 前 | 0

回答済み

How to import C++ and Java code into Simulink environment using S function?

You could start here: https://www.mathworks.com/help/matlab/matlab_external/integrate-matlab-with-external-programming-language...

How to import C++ and Java code into Simulink environment using S function?

You could start here: https://www.mathworks.com/help/matlab/matlab_external/integrate-matlab-with-external-programming-language...

8ヶ月 前 | 0

回答済み

read multiple .csv files in 'for loop', extract and write data to .txt

So building on Stephen's comment. You may also get better results using readmatrix or readtable than xlsread. % Read multiple ...

read multiple .csv files in 'for loop', extract and write data to .txt

So building on Stephen's comment. You may also get better results using readmatrix or readtable than xlsread. % Read multiple ...

8ヶ月 前 | 0

回答済み

I'm trying to display a 2D table

To read the rows and columns of a two dimensional table you need to use two indices: In your example: tableau(1,1) == 1 tab...

I'm trying to display a 2D table

To read the rows and columns of a two dimensional table you need to use two indices: In your example: tableau(1,1) == 1 tab...

8ヶ月 前 | 1

| 採用済み

回答済み

Simple question but i can't do it i just started using matlab

x = 1:5; a = 2; y = a.^x; plot(x, y);

Simple question but i can't do it i just started using matlab

x = 1:5; a = 2; y = a.^x; plot(x, y);

8ヶ月 前 | 0

| 採用済み

回答済み

Get the displacement component which is perpendicular to the triangle (finite element)

d1 = [0.000131475 -0.000706995 0.000754736] You can make one of the vectors the origin by subtracting it from the other two, t...

Get the displacement component which is perpendicular to the triangle (finite element)

d1 = [0.000131475 -0.000706995 0.000754736] You can make one of the vectors the origin by subtracting it from the other two, t...

8ヶ月 前 | 1

| 採用済み

回答済み

Parameter and constant management for embedded coder

You should look over the examples included for Embedded Coder. There are some dealing with tunable parameters. Usually you nee...

Parameter and constant management for embedded coder

You should look over the examples included for Embedded Coder. There are some dealing with tunable parameters. Usually you nee...

8ヶ月 前 | 0

| 採用済み

回答済み

Could somebody help me to implement an algorithm with stateflow?

Please start with the Stateflow Onramp Training on the Mathworks website. Then try to implement your algorithm and if you have ...

Could somebody help me to implement an algorithm with stateflow?

Please start with the Stateflow Onramp Training on the Mathworks website. Then try to implement your algorithm and if you have ...

8ヶ月 前 | 0

回答済み

hermetic compressor simulation using simulink

You can start with the Simulink Onramp training on the Mathworks website. Then attempt to apply what you have learned to the pr...

hermetic compressor simulation using simulink

You can start with the Simulink Onramp training on the Mathworks website. Then attempt to apply what you have learned to the pr...

8ヶ月 前 | 0

回答済み

Problem in Signal Processing in MATLAB Course

What licenses do you have? The task seems to be trying to find Coder products which are not commonly used in student classes. ...

Problem in Signal Processing in MATLAB Course

What licenses do you have? The task seems to be trying to find Coder products which are not commonly used in student classes. ...

8ヶ月 前 | 0

| 採用済み

回答済み

looping in all audio files

dir('*.wav') will return a struct containing all the audio file names. Then you can pass the name field of each element of that...

looping in all audio files

dir('*.wav') will return a struct containing all the audio file names. Then you can pass the name field of each element of that...

10ヶ月 前 | 0

回答済み

Is it possible to inline Code Gen of top level Simulink model containing model references?

For generating C or C++ code using Embedded Coder, if you right click on the subsystem block, go to Block Parameters, and go to ...

Is it possible to inline Code Gen of top level Simulink model containing model references?

For generating C or C++ code using Embedded Coder, if you right click on the subsystem block, go to Block Parameters, and go to ...

10ヶ月 前 | 0

回答済み

alignment of images - is there no function to align control points?

Your control points do not match up, and the last control point actually does not appear in the distorted image.

alignment of images - is there no function to align control points?

Your control points do not match up, and the last control point actually does not appear in the distorted image.

10ヶ月 前 | 0

| 採用済み