photo

ag


Last seen: 6 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
[Homework] Bad syntax? Getting a crash. Cycle While + If + Matrix
Hi Jaquim, The issue that you are facing is because the while loop runs for infinite times since the variables "i" and "j" neve...

18 days ago | 0

Answered
How to make program keep asking input..
Hi Serkan, To ensure that the program continues asking for input, until the correct number is guessed, you will need to keep th...

18 days ago | 0

Answered
Approximation not falls within the expected range
Hi Zhuoying, I kindly suggest you to refer the following MathWorks file exchange page, which demonstrates implementation of the...

18 days ago | 0

Answered
for loop for non integer values
Hi Sara, The issue that you are encountering is because integer operands are required for colon operator when used as index. T...

18 days ago | 0

Answered
How do I write a for loop that stacks the columns of a matrix vertically into a single column array?
Hi Elias, To reshape the matrix into a column vector, you can use the colon operator. The below code demonstrates the same: A...

18 days ago | 0

Answered
Saving loop outputs in a vector
Hi Jarek, To store the calculated states like "R-squared" or "F-Statistic" for each iteration, you can preallocate vectors. Th...

18 days ago | 0

Answered
performing 1s and 2s complement,only first row is being done 2s complement,where i am wrong please tel
Hi Akshay, The issue that you are facing is because the carry value "d" is not being reset after the completion of each row's c...

18 days ago | 0

Answered
How to change the DEFAULT language of Mathworks account?
Hi Antonello, To ensure that the display language of MathWorks website is in english, I kindly suggest you to change your brows...

18 days ago | 0

Answered
calling a matrix with indexing
Hi Mei, To implement the given formula, you can use a nested "for" loop as shown in the below code snippet: % Compute Q_k for ...

20 days ago | 0

Answered
Does an ODBC-connection to MySQL also exist on Mac like on Windows? I find only the JDBC possibility.
Hi Walter, Please note that ODBC database connectivity is indeed supported on macOS. The following MathWorks documentation pr...

20 days ago | 0

Answered
Coverted a grayscale image to binary, but....
Hi Med, I understand that you are facing issues while trying to save a binarized image. Unfortunately, I am not able to repro...

1 month ago | 0

Answered
mixing ingredients from tables besides looping
Hi Addy, I recommend using a more generalized approach that doesn't require manually adding loops each time you increase the nu...

1 month ago | 0

Answered
using the table format, how to filter on words
Hi Erik, To filter the rows containing 'B', you can use logical indexing as described in the below steps: Use "ismember" func...

1 month ago | 0

Answered
How to do an iteration with while loop
Hi Siti To perform an iterative process where you update Tf until the difference between Tf and T_average is zero, you need to ...

1 month ago | 0

Answered
how to printout the outputs of the clusters while doing it using the built in functions??
Hi Wasima, The "kmeans" function returns an array of cluster indices, which you can use to separate your data according to the ...

1 month ago | 0

Answered
Dijkstra algorithm in weighted graph
Hi Vasilis, I understand that you are looking for an implementation of Dijkstra's algorithm for weighted graphs. I recommend ...

1 month ago | 0

Answered
how to write for and while loop for my excel data.?? can any one help me..
Hi J, To extract data for specific months (June, July, August, and September) from your dataset, you can utilise the "ismember"...

1 month ago | 0

Answered
How can i analytically solve coupled ordinary differential equation by using MATLAB.
Hi Shackeer, To solve coupled differential equations you can use the MATLAB function "dsolve". Please refer to the following M...

1 month ago | 0

Answered
How Graph differential equations with Matlab
Hi Hisham, MATLAB offers robust capabilities for formulating and solving various types of differential equations. I recommend ...

2 months ago | 0

Answered
Is it possible to convert Simulink.SimulationData.Dataset signals into individual array variables?
Hi Mark, To extract values from a "Simulink.SimulationData.Signal" into array variables, you can iterate over the signals in th...

2 months ago | 0

Answered
How to plot more than 3 lines on a graph?
Hi Will, The issue you are encountering arises from using the variables "T," "R," "G," "R1," and "R2" prior to their initializa...

2 months ago | 0

Answered
Latitude, Longitude (degrees) to UTM and UPS projections
Hi SK, To convert latitude and longitude to the UTM or UPS coordinate system, you can utilize the Mapping Toolbox in MATLAB. ...

2 months ago | 0

Answered
labelling longitude/latitude of pcolor worldmap
Hi Anne, To label the longitude and latitude on a "pcolor" plot in MATLAB with specific labels like "5° East," "150° East," "11...

2 months ago | 0

Answered
Obstacle avoidance using Occupancy grid
Hi Tanya, I understand that you're trying to simulate a random walk with obstacle avoidance using an occupancy grid in MATLAB. ...

2 months ago | 0

Answered
How I can implement path planning algorithm to control Lawn mower?
Hi Elza, To implement a path planning algorithm for your lawn mower vehicle, you need to begin by creating a map of the environ...

2 months ago | 0

Answered
How to integrate a MATLAB algorithm into Simulink?
Hi Antonnio, To incorporate custom MATLAB functions within Simulink, you can utilize the MATLAB Function block. This block allo...

2 months ago | 0

Answered
how to interface matlab with raspberry pi?
Hi Saad, To execute a MATLAB program on a Raspberry Pi without requiring a continuous connection to your PC, you will need to d...

2 months ago | 0

Answered
How to write a Matlab program to calculate pi using Gregory/Leibnitz series
Hi Devin, The below code demonstrates how to calculate an approximation of (\pi) using the Gregory-Leibniz series and compare i...

2 months ago | 0

Answered
How to generate a MIMO-NOMA system?
Hi Menna, I recommend exploring the following resource, which provides an example of how NOMA operates in a simple MIMO network...

2 months ago | 0

Answered
Sum up measurements to daily basis (measurements each 10 minutes)
Hi Emma, To sum up the precipitation measurements on a daily basis from a dataset where each measurement is taken every 10 minu...

3 months ago | 0

Load more