Answered

Remove table columns that contain any 'Inf' value

modified = stock_returnsTable{:,:} output = modified(:, all(~isinf(modified), 1)) stock_returnsTable = 5×4 table ...

Remove table columns that contain any 'Inf' value

modified = stock_returnsTable{:,:} output = modified(:, all(~isinf(modified), 1)) stock_returnsTable = 5×4 table ...

11 meses ago | 0

Answered

Assign multiple values to a cell

@Riccardo Tronconi Here you Go ! P=[1;2]; XY=[2,5; 4 ,6]; C= [P(:,:) XY(:,:)] %OR C=arrayfun(@(x) [P(x,:) XY(x,:)],P,'Unif...

Assign multiple values to a cell

@Riccardo Tronconi Here you Go ! P=[1;2]; XY=[2,5; 4 ,6]; C= [P(:,:) XY(:,:)] %OR C=arrayfun(@(x) [P(x,:) XY(x,:)],P,'Unif...

11 meses ago | 1

| accepted

Answered

Open Simulink Editor "Requirements Manager" App programmatically

You can refer this link https://in.mathworks.com/help/slrequirements/ref/rmi.html slvnvdemo_fuelsys_officereq; blk_with_req = ...

Open Simulink Editor "Requirements Manager" App programmatically

You can refer this link https://in.mathworks.com/help/slrequirements/ref/rmi.html slvnvdemo_fuelsys_officereq; blk_with_req = ...

11 meses ago | 0

Answered

Unable to remove jc_0531 warning

move State_Five little down from Initital_State it will solve jc_0531.

Unable to remove jc_0531 warning

move State_Five little down from Initital_State it will solve jc_0531.

11 meses ago | 0

| accepted

Answered

How to combine graphs with common x and y axis into single plot

light_power = [1000 1100 1200]; fan_power = [1500 1600 1700]; light_voltage =[225 227 231]; fan_voltage = [228 229 232]; ...

How to combine graphs with common x and y axis into single plot

light_power = [1000 1100 1200]; fan_power = [1500 1600 1700]; light_voltage =[225 227 231]; fan_voltage = [228 229 232]; ...

11 meses ago | 0

Answered

App Designer: How to refresh Text or Num field after assigned new value

Issue can be in 2 things 1)App edit field not refreshing I dont think this is the case 2) testparameters not getting updated?...

App Designer: How to refresh Text or Num field after assigned new value

Issue can be in 2 things 1)App edit field not refreshing I dont think this is the case 2) testparameters not getting updated?...

11 meses ago | 0

Answered

Add two rows in a matrix with new datas

you can do this in below way E = pascal(10); k = 5; E = [E(1:k,:); std(E); E(k+1:end,:)]; k = 6; E = [E(1:k,:); mean(E); ...

Add two rows in a matrix with new datas

you can do this in below way E = pascal(10); k = 5; E = [E(1:k,:); std(E); E(k+1:end,:)]; k = 6; E = [E(1:k,:); mean(E); ...

11 meses ago | 0

| accepted

Answered

Designing a buck converter model

Vout = Vin / (1-D) in your case value of D should be 0.76 48/(1-0.76) = 200volt This may help you. https://in.mathworks.com...

Designing a buck converter model

Vout = Vin / (1-D) in your case value of D should be 0.76 48/(1-0.76) = 200volt This may help you. https://in.mathworks.com...

11 meses ago | 0

Answered

Problem creating a cash register function

You forgot to udpate total variable function change = moneyback(price, given) % set initial amounts of each type of bill one_...

Problem creating a cash register function

You forgot to udpate total variable function change = moneyback(price, given) % set initial amounts of each type of bill one_...

11 meses ago | 0

| accepted

Answered

Taking up too much time to open SLX file

Can you try this once and let us know th results. https://in.mathworks.com/matlabcentral/answers/385283-why-does-opening-simuli...

Taking up too much time to open SLX file

Can you try this once and let us know th results. https://in.mathworks.com/matlabcentral/answers/385283-why-does-opening-simuli...

11 meses ago | 0

Answered

How to calculate the area in table and certain coordinate

Hello @mohd akmal masud, You need to take out Area index then sum it where centroid is within you range. You can do that like f...

How to calculate the area in table and certain coordinate

Hello @mohd akmal masud, You need to take out Area index then sum it where centroid is within you range. You can do that like f...

11 meses ago | 0

| accepted

Answered

Problem with the characters in the software of the MatLab

Maybe this can help you. https://in.mathworks.com/matlabcentral/answers/102519-why-does-the-installer-activation-client-have-un...

Problem with the characters in the software of the MatLab

Maybe this can help you. https://in.mathworks.com/matlabcentral/answers/102519-why-does-the-installer-activation-client-have-un...

11 meses ago | 0

| accepted

Answered

How can I make a better plot?

@Agnese Chini Is this fulfill your requirement? err20 = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.08935539299999,2.06473429585112,5.316435...

How can I make a better plot?

@Agnese Chini Is this fulfill your requirement? err20 = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.08935539299999,2.06473429585112,5.316435...

11 meses ago | 1

| accepted

Answered

Finding error like unrecognized function or variable ' tridiagonal'

function main % solution of 2D elliptical solution % using Line Over Relaxation Method(LSOR) % ep is accepted error%Tridiag...

Finding error like unrecognized function or variable ' tridiagonal'

function main % solution of 2D elliptical solution % using Line Over Relaxation Method(LSOR) % ep is accepted error%Tridiag...

11 meses ago | 0

| accepted

Answered

How to make table in loop

to record all iteration, you need to store them in loop. As shown in below code. For More information check Add Rows from Cell...

How to make table in loop

to record all iteration, you need to store them in loop. As shown in below code. For More information check Add Rows from Cell...

11 meses ago | 0

| accepted

Answered

How to deactivate an editable component based on another component in Matlab app?

% Value changed function: DropDown function DropDownValueChanged(app, event) value = app.DropDown.Value; ...

How to deactivate an editable component based on another component in Matlab app?

% Value changed function: DropDown function DropDownValueChanged(app, event) value = app.DropDown.Value; ...

11 meses ago | 1

| accepted

Answered

How do I plot together 5 different arrays?

for example, In file 1 x = linspace(-pi,pi); y1 = sin(x); plot(x,y1) hold on In file 2 x = linspace(-pi,pi); y2 = cos(x)...

How do I plot together 5 different arrays?

for example, In file 1 x = linspace(-pi,pi); y1 = sin(x); plot(x,y1) hold on In file 2 x = linspace(-pi,pi); y2 = cos(x)...

11 meses ago | 0

| accepted

Answered

Saving a file made in matlab app designer

% Button pushed function: Button function ButtonPushed(app, event) % get directory se...

Saving a file made in matlab app designer

% Button pushed function: Button function ButtonPushed(app, event) % get directory se...

11 meses ago | 0

Question

How to change Filename of Slwebview file

Can we change name of File which is being generated by slwebview?

casi 5 años ago | 0 answers | 0