Community Profile

photo

Muhammad Qaisar Fahim


Last seen: ungefär 2 månader ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to find variable location?
I have one main script file say main_file. When I run this main_file it call several other files where in all those files differ...

2 månader ago | 1 answer | 0

1

answer

Question


How to name variables in a loop?
I have 3 structures with name Time1, Time2 and Time3 but I want to rename them in a loop such that it can be rennamed such as ...

2 månader ago | 1 answer | 0

1

answer

Question


How to connect points in the scatter3 plot?
I have 2 vectors both have x,y and z coordinates (see attached files). I want to creat scatter plot such that point 1 in V_1 is ...

5 månader ago | 1 answer | 0

1

answer

Question


How to find a value in column 2 which corresponds to particular value in column 1?
Let say I have a 2 colomn matrix A=[1 3 7 9 4 5 3 2 4; 2 3 1 3 4 5 9 2 4], Based on the value particular vaue in colomn 1 how ca...

5 månader ago | 2 answers | 0

2

answers

Question


Why my grid data always show a zero by zero dimension?
I want to plot contourf and for that I need to create grid data but it always shows a zero by zero dimesion. Lat=1:1:100; Lon...

5 månader ago | 0 answers | 0

0

answers

Question


How to plot a road along its height.
Actually the data I have has latitude(x) and longitude(y) of a road and also I have height of the road (z). Now I want to constr...

5 månader ago | 2 answers | 0

2

answers

Question


How to create contour plot to show height?
I want to create a countour plot such that my x axis and y axis are the coordinates of the plane and my z axis is height. I want...

5 månader ago | 2 answers | 0

2

answers

Question


How to use pause in for loop?
I want to run a for loop for 1000 times and after every 100 run I want to pause it for 10 sec. How can I do that? With below fun...

5 månader ago | 1 answer | 0

1

answer

Question


Adding repetitive number to web address.
n=100; for k=1:1:n B(k)=Locs(1,k) C(k)=Locs(2,k) r2(i)=webread('https:/........=B(i), C(i)'); end In the above...

5 månader ago | 1 answer | 0

1

answer

Question


How to convert cell to matrix?
I have celles 1x62 and each cell has 30 elements. How can I convert it into one matrix.

8 månader ago | 1 answer | 0

1

answer

Question


I need to find the the value of one variable against the other How can I do that ?
My a variable can take the value A=9075.5 if B=1 and A=5464.8 if B=0. In my function I need to to find the values of A correspo...

9 månader ago | 1 answer | 0

1

answer

Question


How solve an equation in MATLAB?
How I can solve an equation for the 3 coefficients ? A'Ac=A'y where A' is 3*13 matrix A is 13*3 matrix c is 3*1 vector and y ...

10 månader ago | 1 answer | 0

1

answer

Question


Contour Plot gives error
figure x = ICE_m_f_dot_map_temp_w; % 1*140 array of values y = ICE_m_f_dot_map_temp_T; % 1*140 array of values [X,Y]=me...

11 månader ago | 2 answers | 0

2

answers

Question


How to Plot a function that contains summation?
How can I plot the attached two functions with limits from -pi to pi for different values of m ?

11 månader ago | 1 answer | 0

1

answer

Question


How to add a new array in the structure?
Let say I have this structure ( vehicle.genset_model) where inside this structure I have vehicle.genset_model.drag=[4;5;6;7;8;9;...

12 månader ago | 1 answer | 0

1

answer

Question


How to use multiple break statments
In the below code if any of the error goes below the limit the loop break. But I want to break the loop if all of the conditions...

ungefär ett år ago | 2 answers | 0

2

answers

Question


How to get the Nodes at which function is evaluated in BONMIN?
I am solving an optimal control problem using Bonmin with IPOPT. I have some discrete parameters as optimization variables.Bonmi...

ungefär ett år ago | 0 answers | 0

0

answers

Question


HSL Installation on MATLAB with CASADI and IPOPT
I am trying to install HSL MA97. I want to use it with CASADI on MAC. I am following the guidelines available on CASADI website ...

ungefär ett år ago | 0 answers | 0

0

answers

Question


Integer based optimization Solver with non-linear constraints
I want to optimize the problem that contains design parameters. And those optimized design parameters needs to be integers. More...

ungefär ett år ago | 1 answer | 0

1

answer

Question


Fmincon gives Exact the same Answer as the initial guess
This is how I defined fmincon options fminoptions = optimoptions('fmincon','Display','iter','Algorithm','interior-point'); pro...

ungefär ett år ago | 2 answers | 0

2

answers