Answered
I need to determine the time needed for a fire to reach Flashover for 4 different types of fire. I need to use the same formulae to calculate using different Alpha values.
Q=4618.9802 Slow = 0.002778 ; Medium = 0.011111; Fast = 0.044444 ; Ultra_fast = 0.177778 ; t0=204.520 alphas = ...

4 years ago | 0

| accepted

Answered
how can I use "for loop" in this to get a correct result?
Move the assignment to f to before the for i = 1:length(I) Your call to ode45 within the loop depends upon f already having b...

4 years ago | 0

Answered
how can I plot some of 3D points (x,y,z) on a surface of a sphere
xyz = [ 1,0,0 -1, 0,0 0,0,1 0 ,0,-1 0.707, 0.707,0 0.707, -0.707, 0 -0.707, -0.707, 0 -0....

4 years ago | 0

| accepted

Answered
VGG19 net Error
classNames = ["background", "tumor"]; That is only two classes fullyConnectedLayer(10,"Name","fc_1") You are asking for 1...

4 years ago | 0

| accepted

Answered
explain vol Reader = @(x) centerCropMatReader(x,window Size) for nii file.
I do not find any code for centerCropniiReader anywhere on the internet. I find code for centerCropMatReader as part of https:...

4 years ago | 0

Answered
Unable to resolve the name 'images.internal.morphmex'
You can install older runtimes; https://www.microsoft.com/en-ca/download/details.aspx?id=40784 However, that is unlikely to he...

4 years ago | 0

| accepted

Answered
how do you put condition in GUI?
if all(t3 > [t4, t2]) && all([t1,t2] < t4) && t2 > t1 Nth = (1-((t4-t1)/(t3-t2)))*100; set(handles.OUT1,'string',num2s...

4 years ago | 0

| accepted

Answered
struggling with 'graph' function in simulink
If you do not need Rapid Acceleration mode, or deployment to hardware, then you can use graph plotting in Simulink. For example,...

4 years ago | 0

| accepted

Answered
I need to insert a changing string into an input statement
You were quite close, but you missed an indexing and got a format wrong days = 'Monday Tuesday Wednesday Thursday Friday Saturd...

4 years ago | 0

| accepted

Answered
How do I insert a working code inside a while loop procedure?
I already showed you a suitable while loop in https://www.mathworks.com/matlabcentral/answers/1745230-how-to-iterate-until-a-poi...

4 years ago | 0

Answered
Convert MATLAB code to mathematical notation
Most commonly the second output of min() of a vector would be referred to as "argmin"

4 years ago | 1

Answered
How can I change where my figures and workspace files are being saved in each iteration of a loop
cd(tempdir) for j = 1 : 5 folder = sprintf('Trial%02d', j); if ~isfolder(folder); mkdir(folder); end for K = 1...

4 years ago | 1

Answered
How do I change the text output in Live Scripts?
The internal mechanism of getting LiveScript to display graphical representation, is to call matlab.internal.language.signalVar...

4 years ago | 0

Answered
how to make dot-plot of table?
If you are using a quite recent version of MATLAB, then scatter3(table1, 'scan1', 'scan2', 'scan3') Otherwise, scatter3(table...

4 years ago | 0

| accepted

Answered
Using fminsearch in the app designer
The first parameter to fminsearch() needs to be a function handle. With the code you have posted, app.minimizethis would be exe...

4 years ago | 1

| accepted

Answered
How to correctly optimize parameter using gradient descent
for k=1:(length(t)) % Number of Iterations ghat=[ghat ghat0]; It looks like you might be intending ghat to be a record of ever...

4 years ago | 0

Answered
shift time data in a time table
TTnew.Time = TTnew.Time + seconds(201e-6)

4 years ago | 0

Answered
regexp returns unwanted 0x0 string cells
regexp() accepts for its first parameter: * character vector * string scalar * cell array of character vectors * nonscalar...

4 years ago | 0

| accepted

Answered
Error "Arrays have incompatible sizes for this operation" when try to integrate
quadgk and integral pass in vectors for the first parameter. @(xi,q)1./[q1te(xi,q)+q0te(xi,q)].*[1.*(q0te(xi,q)-q1te(xi,q))...

4 years ago | 0

| accepted

Answered
Counting the number of appearance of a value in a loop
[G, value] = findgroups(all_indices_pesi(:,2)); count = accumarray(G, 1); num_instances = table(value, count); See findgroups...

4 years ago | 0

| accepted

Answered
Access to Matlab 2018a version?
If your license permits you to download previous versions, then https://www.mathworks.com/downloads/ and on the left side you...

4 years ago | 1

| accepted

Answered
Regularized hypergeometric function in Matlab
syms k desired = hypergeom([], 2, 1/(4*k))

4 years ago | 0

| accepted

Answered
how to create a STRUCTURE composed of variables from .NC files
source = 'something appropriate'; vars = ["lat", "long", "altitude", "time", "z", "u", "v"]; for var = vars HeavyStruct.(...

4 years ago | 0

Answered
Can we store multiple subplots under one dataframe?
You can savefig() to save the figure, and openfig() the figure later. The result would depend upon the value of a at the time t...

4 years ago | 0

Answered
Read the column 2 and 11 from 45 csv files in 45 subfolder hence plot them.
Distance(i) = table2array (data(:,2)); table2array() of a table with a single numeric variable, is going to produce one row...

4 years ago | 1

Answered
Undefines function 'fsic' for input arguments of type 'cell'
You need to also install https://github.com/shanqing-cai/commonmcode and also https://github.com/shanqing-cai/audapter_mex if ...

4 years ago | 1

| accepted

Answered
while solving a couple ordinary differential equation, I'm getting an error of Unable to perform assignment because the left and right sides have a different number of element
The posted code executes for me format long a = 0; b = 30; h = 0.1; o = 3.5; tc = 3.0; tf = 2.3; a1 = 0.1; a2 = 0...

4 years ago | 0

Answered
figure versus uifigure the best way to manage complex gui
I do not know why uifigure is so much slower than traditional figures. I know people have been grumbling about that for years, a...

4 years ago | 0

| accepted

Answered
A MATLAB docker image with all toolboxes installed.
No, and that is not going to happen. Mathworks only provides docker images based upon Ubuntu. Data Acquisition Toolbox only r...

4 years ago | 0

| accepted

Answered
Deleting All the Rows with values Bigger or equal than 10
mask = Output(:,4) >= 10; Output(mask,:) = [];

4 years ago | 1

| accepted

Load more