Community Profile # Pratik Bajaria

### VJTI

Active since 2013

Professional Interests: Control Systems

#### Statistics

All
• • • • • #### Content Feed

View by

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 3 años ago | 0

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 3 años ago | 0

Question

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 3 años ago | 0 answers | 1

### 0

Question

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 6 años ago | 1 answer | 0

### 1

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 6 años ago | 1

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 6 años ago | 0

| accepted

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 6 años ago | 0

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 6 años ago | 0

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 6 años ago | 1

Solved

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

más de 6 años ago

Solved

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 6 años ago

Solved

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 6 años ago

Solved

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 6 años ago

Question

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

casi 7 años ago | 0 answers | 0

### 0

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 7 años ago | 1

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 7 años ago | 0

| accepted

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...

alrededor de 7 años ago | 0

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 7 años ago | 0

| accepted

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 7 años ago | 0

| accepted

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 7 años ago | 0

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 7 años ago | 0

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 7 años ago | 0

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 7 años ago | 0

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 7 años ago | 0

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 7 años ago | 0

| accepted

Question

Simultaneous Recording Voice Signals and Playing
Hello, I have been trying the following code for voice recognition and playing but it throws me 'System Error' as... -----...

más de 8 años ago | 0 answers | 0