Community Profile

# Pratik Bajaria

### VJTI

26 2013 年以降の合計貢献数

Post Graduate in Control Systems.
Professional Interests: Control Systems

#### Pratik Bajaria's バッジ

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

2年以上 前 | 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...

2年以上 前 | 0

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

2年以上 前 | 0 件の回答 | 1

### 0

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

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

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

| 採用済み

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

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

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

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

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

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

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

Hello Guys! Could anyone please help me with Simulink Model for Unified Power Quality Control?
I have more or less created the entire structure for UPQC (see attached). But i dont know, something is going wrong, not getting...

6年以上 前 | 0 件の回答 | 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...

6年以上 前 | 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....

6年以上 前 | 0

| 採用済み

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

6年以上 前 | 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...

7年弱 前 | 0

| 採用済み

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

7年弱 前 | 0

| 採用済み

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

7年弱 前 | 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...

7年弱 前 | 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....

7年弱 前 | 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...

7年弱 前 | 0

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

7年弱 前 | 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(...

7年弱 前 | 0

| 採用済み

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

8年弱 前 | 0 件の回答 | 0