Community Profile

# Pratik Bajaria

### VJTI

Aktiv seit 2013

Professional Interests: Control Systems

#### Statistiken

All

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

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

fast 5 Jahre vor | 0

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

fast 5 Jahre vor | 0

Frage

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

fast 5 Jahre vor | 0 Antworten | 1

### 0

Antworten

Frage

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

mehr als 8 Jahre vor | 1 Antwort | 0

### 1

Antwort

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

mehr als 8 Jahre vor | 1

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 0

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

mehr als 8 Jahre vor | 3

Gelöst

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

mehr als 8 Jahre vor

Gelöst

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

mehr als 8 Jahre vor

Gelöst

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

mehr als 8 Jahre vor

Gelöst

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

mehr als 8 Jahre vor

Frage

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

fast 9 Jahre vor | 0 Antworten | 0

### 0

Antworten

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

fast 9 Jahre vor | 1

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

etwa 9 Jahre vor | 0

| akzeptiert

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 1

| akzeptiert

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

etwa 9 Jahre vor | 0

| akzeptiert

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 0

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

etwa 9 Jahre vor | 0

| akzeptiert

Frage

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

etwa 10 Jahre vor | 0 Antworten | 0

Antworten