Community Profile

# Dhiraj R

19 total contributions since 2016

View details...

Contributions in
View by

Question

How to get imaginary and real part of complex expression symbolically?
I am trying to get the imaginary and real part of following complex expression. syms a b F = imag((cos(a)-j*sin(a))/(1+j...

3 months ago | 0 answers | 0

### 0

Question

How to utilize multi core of CPU?
I am using global optimization toolbox (more specifically ga) and "parfor" for constraint on AMD Ryzen 6 core CPU. When I run th...

3 months ago | 0 answers | 0

### 0

Question

How to fix segmentation fault (core dumped) error upon starting Simulink in MATLAB R2017b on Ubuntu 16.04?
I have installed MATLAB R2017b on Ubuntu 16.04. Whenever, I start simulink Matlab closes itself and terminal window display segm...

6 months ago | 0 answers | 0

### 0

Question

How to solve "Not enough input arguments" error?
Hi everybody, I am trying to solve set of three non linear equations using _fsolve_. However, I am getting "Not enough input ar...

9 months ago | 1 answer | 0

### 1

Question

How to define vector 'x' symbollically?
So, that its elements x(1), x(2), x(3) etc.. could be used later in script.

1 year ago | 1 answer | 0

### 1

Question

solve non linear equations using Newton iterative method
My equations are x/sqrt(x^2+y^2) = -1 + 1/1.2 * cos(phi) y/sqrt(x^2+y^2) = 1/1.2 * sin(phi) arg(diff((x- jy)/sqrt(x^2+...

1 year ago | 0 answers | 0

### 0

Solved

find a number (cheat)
find a number input^5 = input the out put should be the number. try cheating

1 year ago

Solved

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

1 year ago

Solved

Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

1 year ago

Solved

you just measured its surface area, that is the input.

1 year ago

Solved

Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

1 year ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

1 year ago

Solved

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

1 year ago

Solved

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

1 year ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

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

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

1 year ago

Question

solve non linear equations symbolically
I have 4 variables & 3 non linear equations. Objective is to get 4th non linear equations expressed in 2 variables. Variables...

1 year ago | 2 answers | 0