Answered
Remove table columns that contain any 'Inf' value
modified = stock_returnsTable{:,:} output = modified(:, all(~isinf(modified), 1)) stock_returnsTable = 5×4 table ...

1 year 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...

1 year 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 = ...

1 year ago | 0

Answered
Unable to remove jc_0531 warning
move State_Five little down from Initital_State it will solve jc_0531.

1 year 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]; ...

1 year 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?...

1 year 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); ...

1 year 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...

1 year 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_...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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; ...

1 year 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)...

1 year ago | 0

| accepted

Answered
Saving a file made in matlab app designer
% Button pushed function: Button function ButtonPushed(app, event) % get directory se...

1 year ago | 1

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

1 year ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

1 year ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

1 year ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 years ago

Channel


Chetan_Bhavsar

3 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Square a Number
Given an input x, return y, which is equal to the square of x.

5 years ago

Question


How to change Filename of Slwebview file
Can we change name of File which is being generated by slwebview?

6 years ago | 0 answers | 0

0

answers

Solved


Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords

6 years ago

Load more