Community Profile

##### Last seen: Today
3.478 total contributions since 2018

Communication through MATLAB is always better than arguing.

View details...

Contributions in
View by

not enough input arguments
<https://www.mathworks.com/help/matlab/matlab_prog/run-functions-in-the-editor.html>

alrededor de 1 hora ago | 0

Numbering table and selecting value
Try replacing Name==result with strcmp(crossSectionInfo.Name,result)

alrededor de 10 horas ago | 0

How to replace the 5 in my vector with decreasing numbers like 5,4,3,2,1
Z=num2cell(x); Z(cellfun(@(zx)zx==5,Z))={5:-1:1} celldisp(Z)

alrededor de 11 horas ago | 0

plotting with respect to time
C1=x0; C2=x_dot+Wn*x0; x = @(t) (C1+C2*t)*exp(-Wn*t) fplot(x,[0,10])

alrededor de 11 horas ago | 0

How to combine two cell arrays?
newcellarray = [cellarray2,cellarray1]

1 día ago | 0

| accepted

Storing double output into a single cell array
zeros() to cell() and A{n,k} = selectedlocal

2 días ago | 1

| accepted

How to find the element of a number if that number were to be placed in an ordered list?
Between = [find(ismember(list1,fix(2.5))), find(ismember(list1,ceil(2.5)))]

2 días ago | 0

How to solve for T2? it is giving an error when I try solve
syms T2 TempCumene = vpasolve ((((281.4749/3600)*Cp_b)*(T2-414.95) == Q_b),T2) %temp for cumene outlet in K

2 días ago | 0

| accepted

How to create an integral function? Trying to solve Cp_b between 2 numbers
clear all %%Calculate Benzene Duty Q %From Perry's table 2-153 values for Benzene C1_b = 162940; %in J/kmol*K C2_...

2 días ago | 0

Help me pls I don't know matlab

2 días ago | 0

Log scale x axis?
set(gca, 'XScale','log') % at the end To turn off the warning simply use dots before arithmetic operators .^ .* ./

2 días ago | 0

| accepted

Why is this so slow?
Instead of loop why not simply use *cumsum()* ?

3 días ago | 0

| accepted

How to store " first_element " values?
A = [ 1 1 1 1 2 3 4 4 4 ; 1 2 3 4 5 5 5 5 5]; [first_element,end_element] = deal(zeros(size(A,1),1)); % preallocate for k = 1:...

3 días ago | 1

| accepted

Why can't a variable holding an equation be used to make a function handle?
I would simply use matlabFunction() as sir Walter says but maybe you have the follwing in mind: func = @(x) eqn(x)

3 días ago | 0

| accepted

My function will not work to calculate the 'Cumene inlet temperature' section
func= (Mc*Cp(T))*(T-T1) - (Qb)

4 días ago | 0

| accepted

join cell arrays together
cellstr(string(x)+string(y))

4 días ago | 0

| accepted

Undefined function 'cos' for input arguments of type 'tf'.
syms s % forgot to add this part theta1=((3/8)*pi)+((1/8)*pi*cos(((pi/.3)*s)+(pi/16))); theta1s=laplace(theta1);

4 días ago | 1

Why is this if statement does not work?
Because they are float numbers, reading the below links might help you better about floating numbers: https://www.mathworks.com...

4 días ago | 0

| accepted

Select values from cell array with condition using cellfun
A(cellfun(@(x) all(all(x>-6 & x<6)), A)) % for versions 2018b>= usage of all() would be all(...,[1,2])

5 días ago | 0

int and subs function
Run: which subs -all which error -all In command window and paste the output here. It looks like you have a script na...

8 días ago | 0

| accepted

Question

Using least squares to find the x intercept.
I have a set of data points which represent the IV characteristics of a diode. I'm confused on how to get the threshold voltage ...

alrededor de 2 meses ago | 1 answer | 0

### 1

Question

Symbolic differentiation with respect to first derivative
Is it possible to make a derivative of an equation with respective to the first derivative . Illustration: syms x(t) eq...

alrededor de 2 meses ago | 1 answer | 0

### 1

Error using fsurf (too many functions) but success using ezsurf
Just vectorize the function and use function handles. To learn the proper usage of the functions that get you into a dilemma is ...

3 meses ago | 0

| accepted

Error: Unbalanced or unexpected parenthesis or bracket
I think name is variable, it's simply (there is no need for eval): x = name(:,1); y = name(:,2); z = name(:,3);

3 meses ago | 0

| accepted

Question

How to read this file in MATLAB?
I am having trouble reading the datas.

3 meses ago | 2 answers | 0

### 2

Indexing a Matrix with a for loop
for ii = 1:numel(z) % don't name variables i or j (because they are interpreted as imaginary numbers by default)

4 meses ago | 1

| accepted

Delete element of an array on the basis of other arrays
U = T(Y>SETT)

4 meses ago | 0

| accepted

How to enter this function
https://www.mathworks.com/help/matlab/learn_matlab/desktop.html

5 meses ago | 0

Help on text and colours
https://in.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.line-properties.html https://in.mathworks.com/help...

5 meses ago | 0