Community Profile

photo

HWIK


Last seen: 8개월 전 2020년부터 활동

Followers: 0   Following: 0

Chemical engineering student

Programming Languages:
C++

통계

All
  • Cody Challenge Master
  • 3 Month Streak
  • Commenter
  • Promoter
  • Knowledgeable Level 2
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • First Answer
  • Thankful Level 3
  • MATLAB Central Treasure Hunt Finisher
  • Solver

배지 보기

Feeds

보기 기준

질문


Error: "The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). More information can be found at:""
Hi, I'm trying to uninstall a bunch of toolboxes to free up some space on my computer, and when I go to the uninstaller program ...

1년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
draw two curves in matlab
Try this: x=[0:25:200]; y1= [0.4 0.29 0.21 0.19 0.13 0.11 0.09 0.05 0.006]; y2= [0.45 0.27 0.231 0.202 0.12 0.13 0.11 0.062 0...

대략 2년 전 | 0

답변 있음
merge two datetime arrays into one datetime arrays
There might be something more efficient but this should work: dt = datetime(strcat(string(date')," ",string(time')))

대략 2년 전 | 0

답변 있음
Plot an ODE solution with different constant values.
Is this what you are looking for? clear syms y(x) ode = diff(y,x) == (1.5 - 0.8*y) / (0.5 + 0.8*x); sol = dsolve(ode); y1 =...

대략 2년 전 | 0

| 수락됨

질문


Optimization problem giving inconsistent answers upon changing initial guesses
Hi, I want to solve the following optimization problem from Optimization of Chemical processes: Here is what I have done so...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


Why can't Matlab do the factorial of a non-integer number?
Hi, I tried using the factorial function on a number with decimals and got the following error: N must be an array of real non...

대략 2년 전 | 답변 수: 3 | 0

3

답변

답변 있음
The graph for the ODE45 function does not work
I think the script where you use ode45 is correct, because I don't see any errors there, and using a different method I get the ...

2년 초과 전 | 0

| 수락됨

답변 있음
Scale on x-axis
Try this: set(gca, 'XTick', 0:0.2:0.8)

2년 초과 전 | 0

답변 있음
Help with odes and two different reactions
Just write a function for the ODEs and feed it to the solver: function out = name_your_function(tspan, inputs) %Get your input...

2년 초과 전 | 0

답변 있음
sym: how to subs two variables
From what you pasted I think you have a symbolic expression not function. I'm guessing you have some values of par1 and par2 a...

2년 초과 전 | 0

답변 있음
differential equations system to be solved on matlab code
This code should work, but you must specify your initial conditions. You might want to look into other ode solvers, as with thes...

2년 초과 전 | 0

답변 있음
MATLAB script to find the angle (in degrees) between two vectorsScrip
This has already been answered here: CosTheta = max(min(dot(u,v)/(norm(u)*norm(v)),1),-1); ThetaInDegrees = real(acosd(CosThet...

2년 초과 전 | 0

| 수락됨

답변 있음
How can I ask Matlab to adjust a parameter in an equation until the answer becomes equal with a predetermined input value?
I'm not sure I quite understand the description but here is my go at it: function Actual_area = call_it_what_you_want(V,ht,Area...

2년 초과 전 | 0

답변 있음
Solving ODE in MATLAB with pre-defined steps
I'm affraid that is not an option, this question was answered pretty clearly in this post. If you want specific points I sugges...

2년 초과 전 | 0

답변 있음
select the correct row in a table with a different index in the for loop
Is this what you are looking for? for i=1:5:1440 j = i==1:5:1440; end Where j would be your new index in sequential orde...

2년 초과 전 | 1

| 수락됨

답변 있음
How to simultaneously use logical indexing and date time indexing in a timetable?
Not to delete this question, I will answer it with what I found to be the closest to what I wanted through some documentation. ...

2년 초과 전 | 0

| 수락됨

질문


How to simultaneously use logical indexing and date time indexing in a timetable?
Hi, Let's say I have a timetable with one of the variables being logical indexes, and I want to extract data from this timetabl...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Bar plot with two axis no plotting as grouped
Hi, I want to plot a bar plot with two axis, and I want the two y vars to be grouped, but they always come out as stacked. I a...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to reference previous value in an array without a for loop?
Hi, I have a for loop set up following a similar structure to this: for i=2:size(data,1) data.Var3(i)=interp1(ref_dat...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to apply a set of operations to each field in a structured array?
Hi, Lets say I have a structured array with multiple fields in it. Each of those can have more fields or a timetable. I attache...

2년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to vertically join differently sized tables?
Hi, Lets say I have two tables: table1=table(1,70,175,29,datetime(1992,7,1),"M",'VariableNames',{'Num','Weight','Height','Age'...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to avoid scientific notation in tables?
Hi, I have a table which I want to display (I am displaying it in and app from the Appdesigner), but when I do so I get in some ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to stackplot a table?
Finally figured it out, just reorder the data, I did it like this: load('example.mat') example=table; clear table tstamp=ver...

거의 3년 전 | 0

| 수락됨

질문


How to stackplot a table?
Hi, I have a table of which I would like to make a stackedplot with each of its variables. I want to set the x axis as a datetim...

거의 3년 전 | 답변 수: 3 | 0

3

답변

질문


How to make a table with date times and durations?
Hi, I have a set of datetimes and durations, and I want to merge them and display them in a table. I just can't figure out how t...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


How to remove autogenerated legend in stackedplot?
Hi, have the following stackedplot, and if I plot multiple variables in one of the stackedplots I get a legend that looks like t...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


Is it possible to stack axes of different plots in the same figure?
Hi, I am trying to plot some data in Matlab, where the various y axes appear to be sort of stacked on top of eachother, each hav...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to store words from a string in a cell array as a multiple strings
Hi, I have a 1x1 cell array containing a string of words: {'Date,Hour,Latitude,Longitude,Windspeed,Pressure'} How would you ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


Translation of a plot line
Considering an existing figure, would it be possible to vertically translate one of the lines of the plot by a certain amount?

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Merging existing subplots into a single one
Lets say I have two subplots, both of dimensions (2,1), saved as matlab figures. Is there any way for me to merge them into a si...

대략 3년 전 | 답변 수: 1 | 0

1

답변

더 보기