I am an associate engineer in Engineering Development Group at Mathworks.

DISCLAIMER: Any advice or opinions here are on my own and in no way reflect that of Mathworks

답변 있음

CSV Variable Names truncated on 2 rows how to append

You can read the CSV files using readtable function and then you can modify the data as required Refer to the below link https...

CSV Variable Names truncated on 2 rows how to append

You can read the CSV files using readtable function and then you can modify the data as required Refer to the below link https...

4일 전 | 0

답변 있음

List of loaded (or potentially loaded) files or in a .script

There is no such direct function to determine which .mat files are loaded while running a script .Instead you can store the file...

List of loaded (or potentially loaded) files or in a .script

There is no such direct function to determine which .mat files are loaded while running a script .Instead you can store the file...

4일 전 | 0

답변 있음

Shooting Method: issues with zero

You have defined a function with function name hw7_24p16ydxn and you are calling a function 'hw7_24p16dydxn' which does not exis...

Shooting Method: issues with zero

You have defined a function with function name hw7_24p16ydxn and you are calling a function 'hw7_24p16dydxn' which does not exis...

9일 전 | 0

답변 있음

Ettus B200 Transmit On

comm.SDRuTransmitter creates SDRu Transmitter system object which enables the communication between the matlab and USRP Board. ...

Ettus B200 Transmit On

comm.SDRuTransmitter creates SDRu Transmitter system object which enables the communication between the matlab and USRP Board. ...

9일 전 | 0

답변 있음

Hi everybody, I need help in fixing my error for the matlab code

Here,f(h) is a symbolic expression and not a symfun and is assigned to a variable d,Hence you have to use subs(d,x) inorder to g...

Hi everybody, I need help in fixing my error for the matlab code

Here,f(h) is a symbolic expression and not a symfun and is assigned to a variable d,Hence you have to use subs(d,x) inorder to g...

9일 전 | 0

| 수락됨

답변 있음

How to extract a column from a structure and save as a 4D matrix

4D matrix is obtained by concatening 3D matrices using cat function Suppose your structure array is S which has 3D information ...

How to extract a column from a structure and save as a 4D matrix

4D matrix is obtained by concatening 3D matrices using cat function Suppose your structure array is S which has 3D information ...

9일 전 | 0

답변 있음

How to configure wlanMACFrameConfig Frame Type 'Probe'

Currently wlanMACFrameConfig supports only few frame types {'Beacon', 'RTS', 'CTS', 'ACK', 'Block Ack', 'Data', 'Null', 'QoS D...

How to configure wlanMACFrameConfig Frame Type 'Probe'

Currently wlanMACFrameConfig supports only few frame types {'Beacon', 'RTS', 'CTS', 'ACK', 'Block Ack', 'Data', 'Null', 'QoS D...

10일 전 | 0

답변 있음

Curve fitting non-linear multi-variable functions

Hi, You can use the regress function from the statitics and Machine learning toolbox to perform multple linear regression so t...

Curve fitting non-linear multi-variable functions

Hi, You can use the regress function from the statitics and Machine learning toolbox to perform multple linear regression so t...

10일 전 | 0

답변 있음

I want to change the data type of a table column from double to cells

While importing the table itself you can set the import to a specific type using 'setvaropts'. or you can convert the cell to st...

I want to change the data type of a table column from double to cells

While importing the table itself you can set the import to a specific type using 'setvaropts'. or you can convert the cell to st...

약 2달 전 | 0

답변 있음

Setting currentTime yields wrong frame

Each frame of the video is read in a specific time depending on the video Frequency. When we set the 'CurrentTime' to a certain ...

Setting currentTime yields wrong frame

Each frame of the video is read in a specific time depending on the video Frequency. When we set the 'CurrentTime' to a certain ...

약 2달 전 | 0

답변 있음

Solve a second order differential equation with ODE45, RK4 and draw with power series

Second order differential equations can be slved using 'dsolve' syms y(x) Dy = diff(y); eqn = diff(y,x,2) == -x*y; y(x) = ds...

Solve a second order differential equation with ODE45, RK4 and draw with power series

Second order differential equations can be slved using 'dsolve' syms y(x) Dy = diff(y); eqn = diff(y,x,2) == -x*y; y(x) = ds...

2달 전 | 0

답변 있음

How to input numeric array into Edit Filed when push button using App Designer?

Hi, In state buttons we have 'Text' field.Fill the text field with the values you want to put into the array (1,2..).In the cal...

How to input numeric array into Edit Filed when push button using App Designer?

Hi, In state buttons we have 'Text' field.Fill the text field with the values you want to put into the array (1,2..).In the cal...

2달 전 | 0

| 수락됨

답변 있음

MATLAB Function block limitations

We can implement MATLAB code in simulink by S-Functions as the MATLAB Function block is not supported in all cases Refer to the...

MATLAB Function block limitations

We can implement MATLAB code in simulink by S-Functions as the MATLAB Function block is not supported in all cases Refer to the...

3달 전 | 0

답변 있음

How to scale both axis on a plot

You can extract the XData and YData of the plot and then again set it by scaling. h=plot(x,y); xData=get(h,'XData') yData=...

How to scale both axis on a plot

You can extract the XData and YData of the plot and then again set it by scaling. h=plot(x,y); xData=get(h,'XData') yData=...

3달 전 | 0

답변 있음

How to repeat and store multiple calculations of vpasolve function in terms of adjusting a variable in the equation

Solve the equation for each value of T in a for loop by storing the solved value in a array each time val=[]; for T= T0:5:Tend...

How to repeat and store multiple calculations of vpasolve function in terms of adjusting a variable in the equation

Solve the equation for each value of T in a for loop by storing the solved value in a array each time val=[]; for T= T0:5:Tend...

3달 전 | 0

답변 있음

Error using a function in App Designer, not returning the correct value.

Hi, The possible cause of error may be because of using 'Edit Field(Text)' instead of 'Edit Field (Numeric)'.Make sure you are ...

Error using a function in App Designer, not returning the correct value.

Hi, The possible cause of error may be because of using 'Edit Field(Text)' instead of 'Edit Field (Numeric)'.Make sure you are ...

3달 전 | 0

답변 있음

How to account for the day suffix when using datetime to recognise dates in matlab?

If dates are in a particular format given by you,suffixes {"th","nd","st","rd"} can be removed by erase(T,["th","nd","st","rd"...

How to account for the day suffix when using datetime to recognise dates in matlab?

If dates are in a particular format given by you,suffixes {"th","nd","st","rd"} can be removed by erase(T,["th","nd","st","rd"...

3달 전 | 1

답변 있음

Error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.

The error is because of inappropriate indexing.As you do not know the size of the result instead of assigning it to a single var...

Error: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.

The error is because of inappropriate indexing.As you do not know the size of the result instead of assigning it to a single var...

3달 전 | 0

답변 있음

Multiple Figure Output from if/then - how to get onto one subplot?

Specify the subplot and hold on at the starting of for loop and hold off at the end of for loop.If size(mean_fr,1) is assumed t...

Multiple Figure Output from if/then - how to get onto one subplot?

Specify the subplot and hold on at the starting of for loop and hold off at the end of for loop.If size(mean_fr,1) is assumed t...

3달 전 | 0

답변 있음

How to read numbers spreadsheets from Mac using Matlab

'xlsread' is not recommended in the latest versions .Instead try using 'readtable'

How to read numbers spreadsheets from Mac using Matlab

'xlsread' is not recommended in the latest versions .Instead try using 'readtable'

3달 전 | 0

답변 있음

how to replace labels 1e-18, 1e-17, 1e-16 etc. to 10^(-18), 10^(-17), 10^(-16) etc.

You can try changing the format of the numbers. format longG yt or specifying the labels as the cell array Refer to the belo...

how to replace labels 1e-18, 1e-17, 1e-16 etc. to 10^(-18), 10^(-17), 10^(-16) etc.

You can try changing the format of the numbers. format longG yt or specifying the labels as the cell array Refer to the belo...

4달 전 | 0

답변 있음

Function won't show up on plot

For creating the rectangular pulse waveform, there is an inbuilt function phased.RectangularWaveform in Phased Array Sy...

Function won't show up on plot

For creating the rectangular pulse waveform, there is an inbuilt function phased.RectangularWaveform in Phased Array Sy...

4달 전 | 0

답변 있음

No curve in plot when executing function with multiple data sets

The function output variable should be initialized same as the passing variable . For plotting multiple plots on the same curve...

No curve in plot when executing function with multiple data sets

The function output variable should be initialized same as the passing variable . For plotting multiple plots on the same curve...

4달 전 | 0

답변 있음

Export live script with output on the right

Hi, You can try exporting the file as word document and align the results and code as per your convenience.

Export live script with output on the right

Hi, You can try exporting the file as word document and align the results and code as per your convenience.

4달 전 | 0

답변 있음

Marker edge thickness changes when saved

As the resolution changes, size of figure changes due to which the marker size changes. There is a bug in it and it is fixed in ...

Marker edge thickness changes when saved

As the resolution changes, size of figure changes due to which the marker size changes. There is a bug in it and it is fixed in ...

4달 전 | 0

답변 있음

combining two excel files. second excel file sub group of the first file.

There can be many ways to do this.One possible way is .. First join the two tables using 'outerjoin' t=outerjoin(table1,table2...

combining two excel files. second excel file sub group of the first file.

There can be many ways to do this.One possible way is .. First join the two tables using 'outerjoin' t=outerjoin(table1,table2...

4달 전 | 0

| 수락됨

답변 있음

Plotting values from a set of nested if-else statements in while loop nested in a for loop

Consider an array inside the function and append the length each time to that array in a for loop ..k is the array considered f...

Plotting values from a set of nested if-else statements in while loop nested in a for loop

Consider an array inside the function and append the length each time to that array in a for loop ..k is the array considered f...

4달 전 | 0

| 수락됨

답변 있음

Importing csv with strings and texts without losing columns

Here all the entire data of a excel file is read into a single column.It might be due to large set of data.A possible alternati...

Importing csv with strings and texts without losing columns

Here all the entire data of a excel file is read into a single column.It might be due to large set of data.A possible alternati...

5달 전 | 0

답변 있음

Converting symbolic exponential function into linear form

Use 'simplify' function on applying log on both sides of equation z= log(A(t)); logA = simplify(z , 'IgnoreAnalyticConstraints...

Converting symbolic exponential function into linear form

Use 'simplify' function on applying log on both sides of equation z= log(A(t)); logA = simplify(z , 'IgnoreAnalyticConstraints...

5달 전 | 1

| 수락됨