Community Profile

# Alan Moses

### MathWorks

Last seen: Today 2020 이후 활성

I am Application Support Engineer at MathWorks.
My areas of interests are HDL and FPGA development.
Disclaimer: Any articles/ideas/opinions here are my own and in no way reflect that on MathWorks.

배지보기

#### Content Feed

보기 기준

답변 있음
the results of two functions talking to each other in a loop
Instead of using the ghs vector, you may use a temporary variable for the computation. The function 'btime' needs t3 variable to...

3달 전 | 0

답변 있음
how to read netcdf unsupported datatype variable
You may try the h5disp or h5read functions. You may also refer to a similar question here that shows the use of these functions....

3달 전 | 0

| 수락됨

답변 있음
This is the code for 5 effect backward feed evaporator with vapor bleeding. But when I run this code I didn't get values for all iteration. Please help to get it.
Some variables in your code are not updated in every iteration. For example, the variable gamma depends on L. L is upated every ...

3달 전 | 0

답변 있음
Solve a system of coupled PDEs
You may refer to the pdepe function and Solve System of PDEs.

3달 전 | 0

답변 있음
Getting plotted x and y points from probplot
ax = probplot(data) returns a graphics array. The ‘x’ and ‘y’ data can be accessed by the following lines: ax(1).XData %returns...

3달 전 | 0

답변 있음
Solve this differential equation.
You may refer this link - Solve Differential Equation.

3달 전 | 0

답변 있음
is there a easy way of using excel tables for lstm deep learning ?
You may refer to the readtable and table2array functions to achieve it. You may also refer to the Import Tool function and how t...

4달 전 | 0

| 수락됨

답변 있음
How to find the value of Q and R for LQR controller
You may refer to the solutions here and here to get an idea about choosing Q and R values.

4달 전 | 0

답변 있음
How to plot actual time on x-axis in emd
You could manually change the axes labels. You may refer to the gca function which returns a handle to the current axes in the c...

4달 전 | 0

| 수락됨

답변 있음
Unable to resolve the name internal.stats.statsizechk.
You may try to uninstall and reinstall the Statistics and Machine Learning toolbox to see if that solves the issue.

6달 전 | 0

답변 있음
numerical integration to obtain response using convolution
The code attached produces an error due to missing multiplication operators. You may replace the line 10 of your code where the ...

6달 전 | 0

| 수락됨

답변 있음
Structural Analysis of Plate - Transient Response to Dynamic Point Force
Hi Luke, You may check out the example here to see if you are looking for something similar. You may also see the resources her...

7달 전 | 0

답변 있음
TargetPoint — Position of the target relative to the reference body
You may refer to the answer here to a similar question.

7달 전 | 0

답변 있음
plot states sequence over time
You may use the following line of code: plot(age,sequence(:,1:end)) To create labels for the lines plotted, you may use the le...

7달 전 | 1

| 수락됨

답변 있음
how to go from NED to ECI frame?
Hi Khang, The “ecef2eci” is part of the set of functions that require the ‘Aerospace Blockset CubeSat Simulation Library’ Add-o...

7달 전 | 0

답변 있음
How battery energy is calculated in Microgrid Energy Management System (EMS) using Optimization
The value 3.6e6 is the conversion factor for joules to kWh and vice-versa. You may refer the video walkthrough of the battery en...

7달 전 | 0

| 수락됨

답변 있음
Plotting a 3d plot using multiple for loops: using s parameter matrix (Z_PARAMS must not be NaN)
The error occurs because there is a multiplication of zero and infinity happening which causes a NaN to be input to the z2s func...

7달 전 | 0

답변 있음
Specify boundary conditions for a thermal model (PDE)
You may refer the applyBoundaryCondition function and the solvepde function to see if it fits your requirement. You may also ref...

7달 전 | 0

| 수락됨

답변 있음
how to insert graphic scale in geographic map??
The quiverm function plots into the map axes. But the geobasemap function plots into the geographic axes. Instead, you may use t...

7달 전 | 0

답변 있음
HDL Implementation of PID Controller Using FPGA-in-the-Loop
You may check if Xilinx ISE is correctly installed on your system. You may also confirm the correctness of the Xilinx ISE tool p...

7달 전 | 0

답변 있음
make adjacent array element the same as current element
You may refer to the piece of code below that uses the find function to achieve your goal without using a loop. function y = tr...

8달 전 | 0

| 수락됨

답변 있음
I want to use a reshape layer. How can I customize it?

8달 전 | 0

| 수락됨

답변 있음
HDL-Coder Delay Balancing in Feedback-Loop workaround
In some cases, when you have blocks inside a feedback loop, adaptive pipelining is unable to insert the required number of pipel...

8달 전 | 0

답변 있음
What is the difference between the sample-and-hold block and a delay?
The Sample and Hold block holds the acquired input value at the signal port whenever it receives a trigger event and outputs the...

8달 전 | 1

| 수락됨

답변 있음
Error: lsqcurvefit stopped because it exceeded the function evaluation limit,
Hi, You may refer to the answer to a similar question posted here. Refer the optimoptions documentation to look up the differen...

10달 전 | 0

답변 있음
How o you work the phase difference between the input and the output of a sine wave?
You may refer to this link posted in the answer to a similar question here.

10달 전 | 0

| 수락됨

답변 있음
finding neighbouring locations in matrix bigger than a certain value
You may refer the method used here to find the neighbouring values of an element in a matrix. To find the locations of elements ...

10달 전 | 0

답변 있음
Simple, but stumped. Using 'xline' to create animated "play marker" across waveform plot.
You may use the following lines of code to clear the previous line: children = get(gca, 'children'); delete(children(1)); The...

10달 전 | 0

| 수락됨

답변 있음
triggered by falling edge, pulse signal
You may refer the Monostable block which can be programmed to detect a rising edge, a falling edge, or either edge. You may also...

10달 전 | 0

| 수락됨

답변 있음
Quiver for geobasemap and geoscatter
The functions geobasemap and geoscatter plot into the geographic axes. But the quiver function cannot plot into the geographic a...

10달 전 | 0

| 수락됨