Community Profile

# Pratik Bajaria

### VJTI

Professional Interests: Control Systems

All

Ver insignias

#### Content Feed

Ver por

Respondida
dimension error with * operator
Hello, Try .* operator. It is the normal matrix multiplication, the one you are trying is doing a Hadamard multiplication. ...

alrededor de 5 años hace | 0

Respondida
Curve Fitting for an equation
Hello, Did you try <https://in.mathworks.com/help/curvefit/curvefitting-app.html cftool>? It does have provision of adding <h...

alrededor de 5 años hace | 0

Pregunta

PMU data for blackout analysis
Hello, I have been currently working on Blackout analysis and am wondering if there are any data repositories that have archi...

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

### 0

respuestas

Pregunta

Can anyone help me code the fsolve equivalent in C/C++?
Hello, Off-lately, i have been working on some code which requires conversion of MATLAB's "fsolve" function into C/C++. Altho...

más de 8 años hace | 1 respuesta | 0

### 1

respuesta

Respondida
Plot the solution of EDO system
Hello, I guess you mean ODE solver. Please go through the following link on MATLAB to find out s solution to the same. <htt...

más de 8 años hace | 1

Respondida
incrementation in for loop
Hello, Its difficult to understand your question, but if you would elaborate it would be great. Although, i would provide sol...

más de 8 años hace | 0

Respondida
calculation of slopes of 2 lines
Hello, your solutions is pretty clear. I presume, that you have X,Y cords. Once, you have them, its a cakewalk. Slope of a l...

más de 8 años hace | 0

Respondida
Solving a non-linear second order ODE with Matlab
Hello, ode45 must work for you. All you have to do is make a function handle, which carries your ode function that you have s...

más de 8 años hace | 0

Respondida
Function, input number, return a value
Hello, You just have to change a few things and it must work. Atleast it does for me. ;-) you need not write g(x) literally....

más de 8 años hace | 3

Resuelto

Is my wife right?
Regardless of input, output the string 'yes'.

más de 8 años hace

Resuelto

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 8 años hace

Resuelto

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 8 años hace

Resuelto

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 8 años hace

Pregunta

I have more or less created the entire structure for UPQC (see attached). But i dont know, something is going wrong, not getting...

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

### 0

respuestas

Respondida
How to break and integer into an array output.
Hello, One of the easiest way to do this is fooling the way around. First convert the number into string. Then run a simpl...

alrededor de 9 años hace | 1

Respondida
How to extract the dat from the txt file?
Hello, Please go through the following link and its associated functions. <http://www.mathworks.in/help/matlab/ref/fscanf....

alrededor de 9 años hace | 0

Respondida
How do i sent a document to printer.
Hello, I suggest you to check "print" function in matlab. Go through following link <http://www.mathworks.in/help/matlab/cr...

más de 9 años hace | 0

Respondida
How can i determine the dominant frequency and maximum amplitude of a signal from its line spectral plot
Go through the MATLAB help given on the following link. I hope it will clear all your doubts. http://www.mathworks.in/help/m...

más de 9 años hace | 1

Respondida
HOW TO ENCODE AN 8BIT VALUE FROM A MATRIX
Hello, Check this. I think it would work for you. It worked for me fine. for i=1:size(b,1) for j=1:size(b,2) dum=0; ...

más de 9 años hace | 0

Respondida
Eliminate symbols from char to number
Here's a workaround for this. hypind=find(p=='-'); cnt=0; cntp=1; for i=1:size(p,2) if i==hypind(cntp) if cn...

más de 9 años hace | 0

Respondida
how to do subtraction inside Structure
Well Technically its not possible. You are trying to subtract 1x5 from 1x7 array, which is violation of dimensionality. As a wor...

más de 9 años hace | 0

Respondida
who can help me write matlab codes for curve fitting?
Hello, Please go though the 'fit' and 'polyfit' function help in matlab. These might address your query. http://www.mathworks....

más de 9 años hace | 0

Respondida
How to use curve fitting toolbox automatically deal with curves?
That's True! Even I can't find attachment. Irrespective of that, if you would like to do curve fitting via command line, you ca...

más de 9 años hace | 0

Respondida
System Phase Portrait
Use *ode45* function to plot the phase portraits. Check this out: http://www.mathworks.in/help/matlab/ref/ode45.html

más de 9 años hace | 0

Respondida
how to convert decimal values into 8bit binary values in a 256*256 matrix.
Its Pretty Simple. You have not made 'b' into an array. do it and its all done. i.e. Change it to the following a=imread(...

más de 9 años hace | 0