# Dhananjay Kumar

**Statistics**

**MATLAB Answers**

**0** Questions

**32** Answers

RANK**1,620**

of 271,654

REPUTATION**30**

CONTRIBUTIONS

**0** Questions

**32** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**3**

RANK

of 18,321

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120,223

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Why does my app did not have the data and training panel?

Deep network Designer app is to create and edit deep neural networks and not to train a network. Using this app you can create a...

2 years ago | 0

Function is not defined for values of class embedded.fi when using HDL coder

Here is the link to check function supported for code generation using fixed point arithmetic https://www.mathworks.com/help/fi...

2 years ago | 0

Finding the phase shift of the Sine wave from Workspace?

See this answer: Calculating Phase difference from workspace data

2 years ago | 0

Matlab syntax (vectorization)

You should note that logical indexing would select not all the elements from a row(or column) from an array, and that should re...

2 years ago | 0

Saving structure data type in Simulink

Try one of these: 1) To Workspace block 2) Export Workspace Variables through model explorer 3) assignin function 4) evalin ...

2 years ago | 0

Error using genfis function in Grid Partitioning

Check with this function to check if the issue is related to the data: mustBeFinite

2 years ago | 0

| accepted

Two videos sampling frequency sync

If you have Vision HDL toolbox. This might help: 1) Convert frames to pixels stream 2) Using ChromaResampler to resample the p...

2 years ago | 0

How can I set up a MATLAB timer for the next day, to run a function the values within which change daily?

Hi Manan, I think it should be pretty straight forward. You just need to specify the starting time and date in startat to be th...

2 years ago | 0

Error in Embedded Coder Support Package for PX4 Autopilots

Hey Chaos, See if this answer helps: Unable to locate build tool "GNU PX4 Archiver": echo

2 years ago | 0

I keep getting this error, " Failure in initial objective function evaluation. FSOLVE cannot continue."

Declare a 5x11 F in the beginning and use proper indexing on F like this: F = ones(5,11); F(1,:)= x(1).*(-M1.*(w.^2...

3 years ago | 0

How to compile the algorithm written in MATLAB into a program that can be used in ROS?

See if this helps: ROS Toolbox: Design, simulate, and deploy ROS-based applications

3 years ago | 0

Equivalent command of "-M" at MCC in CODER GUI

The purposes of mcc command and MATLAB Coder are little different . I think you are looking for deploytool or Application Comp...

3 years ago | 0

How do I link outputs from C code written in visual studio into matlab

You can call your C code in MATLAB in two ways Using C MEX API Using loadlibrary function MATLAB Engine API is used to call...

3 years ago | 1

Why do I get an error when trying to launch the Deep Network Designer, even though I have the relevant toolbox? The error states that I don't have the correct libraries.

See this thread: Why do I see "error while loading shared libraries: libXss.so.1" when starting MATLAB

3 years ago | 0

Systems equation with a loop

Hey, See these two examples: Solve System of Equations with vpasolve Root of Function with fzero If the value of a paramet...

3 years ago | 0

wait for user input in app designer

Add a Text-type edit field (icon: ). This will take the input as character array (Here, default value will be empty character ar...

3 years ago | 0

Calling objects in legend changes marker size

This appears to be a bug. I work at MathWorks and have forwarded this feedback to the relevant team.

3 years ago | 1

How can I get system Matrix A,B and C for my state space system of Spring-Mass damper system of n blocks arranged in uniform way?

I think this should be very simple (Writing the generalized matrix in the image). You just need to know array indexing and for l...

3 years ago | 0

| accepted

optimization problem using optim prob in matlab

While using optimvar to create variables which would be used in optimization problem constraints, you can specify 'Type' as 'int...

3 years ago | 0

i need the second plot to start from where the last point on the first plot left off. The graph is meant to be continuous across all three stages not broken up. Help please?

Just shift the plot by adding the previous segment's final y-value: plot(t_1,p_1,'blue',t_2,p_2+p_1(end),'blue',t_3,p_3+p_1(end...

3 years ago | 0

| accepted

Move all figures to a specific monitor？

See this thread: Is it possible to viewing the "figure" window on second display?

3 years ago | 0

Vector array from matrix

If A = [1 0 5; 6 -9 -5; 1 2 5; 0 0.9 -2] then min(A,[],2) gives a column vector containing minimum value of each row. Similarl...

3 years ago | 0

| accepted

Download simulink without MATLAB

You can install the additional MathWorks products the same way you installed MATLAB initially. Follow steps here: https://in.ma...

3 years ago | 0

Coding a second degree differential equation

You can declare phi as a symbolic variable by using syms command and sove the equation symbolicaly as we solve any equation by h...

3 years ago | 0

I am having problem converting this to Matlab. It either spits out 'char' as the answer or it would say untitled after i have written it in Matlab and fixed all the errors. Help me out.

I suppose this is python code. For converting this code to matlab code, you should understand the code completely and manually ...

3 years ago | 0

ınstalling image processing tool

This is a generic error that is displayed while installing a Support Package. Refer to this: Why do I see the error "Something...

3 years ago | 0

Function that plots and calculates intersection of lines

You can do it manually through basic mathematical principles. y-y1 = m(x-x1) => mx-y = mx1-y1 . Now this is in the form...

3 years ago | 0

Create an Excel Template

See if this helps: Format Cells in Excel Files

3 years ago | 0

| accepted

Error: "Conversion from logical to sym is not possible"

I am assuing that you have declared phi as a symbolic variable by writing >> syms phi So func and dfunc are symbolic expressio...

3 years ago | 0