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

9 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...

9 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 = ...

9 meses ago | 0

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

9 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]; ...

9 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?...

9 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); ...

9 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...

9 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_...

9 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...

9 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...

9 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...

9 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...

9 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...

9 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...

9 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; ...

9 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)...

9 meses ago | 0

| accepted

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

9 meses ago | 0

Solved


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

9 meses ago

Solved


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

9 meses ago

Solved


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

9 meses ago

Solved


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

más de 1 año ago

Channel


Chetan_Bhavsar

casi 2 años 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:...

casi 4 años 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...

alrededor de 4 años 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...

alrededor de 4 años ago

Solved


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

alrededor de 4 años ago

Solved


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

más de 4 años ago

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

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

alrededor de 5 años ago

Load more