Community Profile

photo

Robert Demyanovich


Last seen: 11 Monate vor Aktiv seit 2021

Statistiken

  • Thankful Level 4
  • First Review

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Get maximum value for a row in a MATLAB table
I need to get the maximum value for a specific row in a MATLAB table (not matrix). Let the variable i specify the row number in...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Concatenate strings and numbers
I'm using the following code to try and create a "Range" for importing an excel spreadsheet into MATLAB. Instead of getting a s...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Linear Model with 4 parameters
I need to come up with an estimate for the starting values of the coefficients of a rational model. The rational model is: On...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Need to move to another line to avoid error
My simulations is tedious and takes quite some time. To ease my burden, I have setup the simulation to run in batch mode. The ...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Divide a scalar by all non-zero values in a matrix row and input results into a new matrix
I have a matrix cA. I want to input values into a matrix A that are a scalar (1E-14) divided by each element in a row of cA tha...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Merge selected column elements from two matrices into a new matrix
I have two identically sized matrices. Once matrix, cA, contains the concentration of hydrogen ion while cB contains the concen...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Pass curvefit start points into function
I am new to Matlab, but have somehow figured out how to create a curve fitting function that is called by the main program. I n...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Create a new table by transforming data in existing table with few lines (maybe just one)
I have a table (not matrix) that has data read in from Excel. I want to change some of that data by multiplying by certain valu...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Output the amount of time it took to run a simulation
My simulations take a long time. I would like to be able to measure the amount of time it took for a simulation to run. I woul...

mehr als 2 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Semilog plot that includes curve fit
I have used the curve fitting app to generate code to plot the data and the curve fit. I am new to MatLab but it looks like the ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Semilog plot in curve fitting tool
I am new to using the curve fitting tool. I have some data that I want to fit a curve to. I have clicked on the curve fitting ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Ignore zero values when searching for minimum value in column of matrix
I have the following code to find the minimum value in the last column of matrix cANALY: [tnValueAnaly, tnRowAnaly] = min(cANAL...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find the maximum value of a column in a table
I have a spreadsheet that is read into a Matlab table. I need to get the maximum value in column 1. I thought the following wo...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Highest row number in a table
I am reading an excel spreadsheet into a table in MatLab. The number of rows and columns can vary. I need to find the maximum ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Scan a row and replace any values equal to zero
I need to replace any zero values in the columns of a specific row, i +1, of a matrix, cA, with a specific value, say 1E-07. How...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Sum of Least Squares
I have a table, Check, where I would like to subtract column 6 from column 5 (to obtain a residual) and then square the residual...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Dimensions of arrays being concatenated are not consistent.
I have no idea why I am getting an error in the following code: FluorDataInd = round(i/TimeFactor)+1 x=[ConcValues{1,1} Co...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Select a record from a table where an exact value is not provided
I have a table which I will be loading with Excel data (I haven't ever done that, but I think I can just paste data in). My que...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Initializing all rows with one set of values in one half and another set in the other half
The following line of code works for initializing the first row of an array: cA(1,:)=[cA0*ones(1,(N-1)/2+1),Kw/cB0*ones(1,(N+1)...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Retrieve curve fit coefficients
I tried using coeffvalues, but all it does is store a bunch of text including the values that I want in a 1x1 something or other...

mehr als 2 Jahre vor | 0

Frage


Retrieve curve fit coefficients
I am using a 4PL function written by someone and available from a MatLab search. I don't understand how to store the curve fitt...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


stop execution of code to check results
Is there a way to stop code from executing so that results can be checked. For example something like if i == 100000 Stop...

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Set upper and lower bounds of for loop
I would like to set the upper and lower bounds of a for loop based on the values of simulation parameters. I'm not sure how to...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to handle NAN when summing
I have the following code: for k = 1:N W(i,k)=W1*(cB(i,k))^W2; Fluor(i,k)= cB(i,k)*W(i,k)*dx; end FL = su...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to sum a portion of a row in a table and get a single value
How do I sum a portion of a row in a Matlab table and get a single value? For example assume that the row number is i and the c...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


if statement with greater than and less than
The following doesn't seem to be working as intended: if 0 <= MBPosition <= 2*Delta ; Even though MBPosition is within the ran...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


if statement for two arrays
I am programming a chemical reaction. I want to make sure that the amount of product produced does not exceed the amount of ava...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Run "if" logic on a row
I have the following code for the reaction interface between acid and base (A-acid, B-base,S-salt): dS=k1*cA(i+1,:).*cB(i+1...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Matlab less than comparison
The Matlab documentation is confusing me. I want to test each cell in a specific row of an array (cA). If that cell has a valu...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Include value requirement in array multiplication
I currently have the following line of code: dS=k1*cA(i+1,:).*cB(i+1,:)*dt dS is the amount of product S resulting from a reac...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden