Answered
Getting busy in defining syms
*Read the link below:* <https://www.mathworks.com/matlabcentral/answers/399991-syms-sym-and-mupad-functions-cause-matlab-to-f...

8 years ago | 0

| accepted

Answered
How do I plot a complex voltage?
Vx = 4.9451 + 2.9920i Vy = 10.0935 - 9.7970i Vz = -5.5966 - 0.9360i V=[Vx Vy Vz] time=linspace(0,1...

8 years ago | 0

| accepted

Answered
ThinkGear, rawdata and Matlab coding
1) To find what data type just type *whos* in command window. 2)Didn't understand ,but I guess you can do this by defining it...

8 years ago | 0

| accepted

Answered
How to read a variable whose suffix changes randomly?
Read the link below: <https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dynam...

8 years ago | 1

| accepted

Answered
How do I manually insert variables I have declared symbolically into a zero matrix?
>> syms k1 k2 k3 k4 global_k1 = sym(zeros(4,4)); global_k2 = sym(zeros(4,4)); global_k3 = sym...

8 years ago | 0

| accepted

Answered
how can i extract circular data from matrix?
*Try reading the link below:* <https://www.mathworks.com/matlabcentral/answers/409228-how-to-filter-out-annular-data-from-squ...

8 years ago | 0

| accepted

Question


How to export to excel?
Hi everyone, I just installed *excel(2016)* in my *Mac* so I tried the below code just then it shows the following error. ...

8 years ago | 1 answer | 0

1

answer

Answered
Need help solving two unknown variable equations
*Try this:* syms a b eqn_1 = 20*log10((1 + ((20/a).^(2*b))).^(1/2))== 0.316; eqn_2 = 20*log10((1 + ((150/a)....

8 years ago | 0

| accepted

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

8 years ago

Answered
Function handling with derivative of sin
*What happens if you try the below code?* f = @(x) sin(x) x=pi/3 f(x) *Note: Function Handle should be d...

8 years ago | 0

Answered
how to have a vector that counts how many repetitive numbers there is in another vector?
Maybe try this example: A = [1 2 3 3 4 5 1] u = unique(A) Expected_result = histc(A,u)

8 years ago | 0

| accepted

Answered
As I want tolve differential eduation in matlab 2018 but its not solving and making matlab busy.
This might be the issue: <https://www.mathworks.com/matlabcentral/answers/398632-matlab-respond-nothing-when-using-the-sym-comm...

8 years ago | 0

| accepted

Question


IMPLICATION OF MATLAB AND SIMULINK
Hi everyone , I was just wondering if there is any book to imply the knowledge of matlab and simulink to analyse the characteri...

8 years ago | 1 answer | 0

1

answer

Answered
read a column from excel sheet to array in matlab , perform operations , plot graph , write the result in successive column in Excel
hi this was your fault: *instead of:* gamma=inputA(i); beta=beta(i)-alpha(i); *should be:* gamma(i)=input...

8 years ago | 0

| accepted

Answered
Error in creating a function
hi try this, ObjectiveFunction = @(x) sim(net, x') *REASON: FUNCTION HANDLE SHOULD BE DETERMINED INSIDE PARENTHESES.*

8 years ago | 0

| accepted

Answered
Why does there is no numerical solution but a structure.
Hi, It’s because the solution is too long plus the solution output is one that’s why and all the variables are symbolic. *...

8 years ago | 1

| accepted

Answered
how to change the increment in for loop?
hi, this is how you do it: for i = 0:4:(100-1) i end *EXPLANATION: O IS THE STARTI...

8 years ago | 1

| accepted

Answered
how to correct this error?
Hi use *.** and *./* instead of * and / . argument2 = (1:Nx).*Ndist.*D./fs.*c./2.*1000; *NOTE: YOU DIDNT DEFINE FEW PA...

8 years ago | 0

| accepted

Answered
Fill up peak by colour
*Hi, try this EXAMPLE:* [PKS,LOCS]=findpeaks(y,TIME) % TIME - x-axis %y - y-axis plot(LOCS,PKS,'ok',....

8 years ago | 0

| accepted

Answered
Multiply Row and Column Vectors: is the times documentation correct?
It only works if either one of them is scalar otherwise (the vectors have to have the same dimensions) in which each element of ...

8 years ago | 0

Answered
how to solve system of 3 differential equations?
Hi , the following equations are solved *symbolically* and *unknown constants* arise because *no initial conditions* were provid...

8 years ago | 0

| accepted

Answered
Problem with Symboli integration by partial fraction
Hi, the file is not attached but if your answer correlates with this answer then there is nothing wrong with your code: sym...

8 years ago | 0

| accepted

Solved


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

8 years ago

Answered
Subtract values of a row vector to each column of a matrix.
Hi, I have attached an example: columnMeans=randi([1 10],1 ,10); data=randi([1 30],120,10); [m,n] = size(data...

8 years ago | 1

| accepted

Answered
fplot a function in different intervals
Hi , fplot(DF,[400000 1400000]) fplot(DF,[222222.222222222 1000000]) Is this what you are looking for?

8 years ago | 0

| accepted

Answered
1- Write a MATLAB function that returns the number of entries in a vector whose value exceeds 10 and the number of entries whose values are less than 2. The function takes the vector as an argument in the function. Test your function on vector [11,12
Hi, *Note: It’s not a function but if you use the function template it would be fine, the algorithm is the main thing here.*...

8 years ago | 0

| accepted

Answered
How to load this .dat file data into matrix format?
This might help: https://www.mathworks.com/help/matlab/ref/importdata.html#btldf1f-1

8 years ago | 1

| accepted

Answered
Why does MATLAB generate identical random values after re-opening the program?
hi, see the link below: https://www.mathworks.com/help/matlab/ref/rng.html

8 years ago | 0

Answered
Extract or import two Specific values form Text file
Try this: fid = fopen('M7_soil_FN_1.txt','rt'); C = textscan(fid,'%f%f','HeaderLines',6); ...

8 years ago | 0

| accepted

Load more