Top 5% contributor
Hi, did you ever find a solution to this problem?
Answered 3 months ago
Bump. Can anyone help with this?
Answered 7 months ago
if (div4 & ~( xor(div100, div400)))
div4 div100 and div400 are given by:
div4 = ((year/4) == floor (year/4));
Asked 2 years ago
I changed it again, thanks so much for your help!
Answered 4 years ago
Ok, I've tried to edit the code and get rid of loops.
rs = 0.05;
Cl = 2*pi;
pa = [10*(pi/180) 5*(pi/180) -0.1*(pi...
Hi. I've written this code to plot the graph it produces. However, the top three lines have complex parts to them. How can I plo...
Asked 4 years ago
I have two variables (always 4 letter strings), Start and End. I need to generate other variables based on their values. *'s are...
Asked 6 months ago
I have a large amount of data that I need to work with and I'm looking for some advice on the best way to go about it...
Asked 5 months ago
How do I filter cellarray A to only return the unique values (i.e. in this example A319, A320, A321) once, then compare t...
To run this code you need to download the CSV file I have attached.
As you can see from my code, I have a 109x214 cell array ...
Asked 7 months ago
I am a new user to Simulink (and in some respects Matlab). I have a couple of question regarding the program I was hoping...
Asked 3 years ago
I'm trying to get a greek symbol in my axes label.
I know that you can do '\phi' to get this but I need to get a dot a...
Nested loops suck...how can I optimise this code?
function [a, v, x] = model1(x_s, x_a, OB, rho_0, K_a, K_r, K_v)
Asked 15 days ago
I'm trying to import some data from a database using dexplore. When I navigate through the GUI, the time field is blank, ...
I'd like to be able to add a trendline to my plot on figure(2) coding it in the m file. How would I go about doing that? ...
Asked 8 months ago
Being perfectly honest, I have no idea where to start with this problem. I know it is possible to plot two boxplots on t...
Asked 2 months ago
I'm looking for an elegant solution to a problem I'm having converting lat/long coordinates to their decimal equivalen...
I have a variable, A, which is a Nx1 cell array, where N is a variable number which can vary between 1 and 1000. Each row within...
Hello, I would like to add additional information to my data cursors on a plot I have. My code currently looks like this:
Hi, I'm having some problems importing a time variable from my database into MATLAB. I think the problem might have something to...
I have an equation that I'd like to differentiate without using the command diff(equation). I've been told that finite-di...
Hi, its my first time posting on here so please be nice. I'm studying Aeronautical Engineering and have a course in MATLAB to do...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries