Réponse apportée
Why do my figures look so pixelated after publishing?
There is a work around and discussion related to the same issue located here.

environ 7 ans il y a | 0

Réponse apportée
how can i model time delay in time domain in controller?
Look at the example here you will need to use the pade function.

environ 7 ans il y a | 0

Réponse apportée
How do I read an image file in .fits format and convert it to.png or .tiff?
Use fitsread() and imwrite() if you need further help please post the file you are working with.

environ 7 ans il y a | 1

| A accepté

Réponse apportée
How to detect a stalled object in a video?
The example layed out here is very inforative and will take care of all your problems. You can play with different parameters su...

environ 7 ans il y a | 0

Réponse apportée
How to plot product of two summations?
I would do this symbollically. Use the symsum function and the subs equation, both links have examples to solve your problem.

environ 7 ans il y a | 0

Réponse apportée
Plot to Image?
Would the following work for you or at least push you in the right direction? x = 1:10; y = x.^2; xwidth = 300; ywidth = 2...

environ 7 ans il y a | 0

Réponse apportée
How do I plot a graph from a code that is is using a function and looping feature
You are redeffining NN unessecarily and the first instance of S(i) is not defined. Consider preallocationg and changing your cod...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
How do you know how many inputs your lsim function has?
Run: size(SYS) and you get: >> State-space model with 8 outputs, 1 inputs, and 16 states. According to lsim documentation: T...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
How to find the marker in the biggest row?
If you run the following code youll get the following answer: A = [5 2; 7 3; 4 5; 6 5; 8 6; 3 8]; [maxNum maxIdx] = max(A) ...

environ 7 ans il y a | 0

Réponse apportée
can anyone offer control of state space system using Iterative Learning Control in command window in MATALB
Here is an example that should push you in the correct direction. I havent completed it as I dont know what your reference signa...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
Execute text files in matlab
Make a text file that looks like this and call it "test.txt": 1, 2, 3, 4, 5 6, 7, 8, 9, 10 Use the following function to load...

environ 7 ans il y a | 1

Réponse apportée
create multiple submatrices from larger matrix
Does this work for you? x = rand(5000,3); count = 1; for ii = 1:100:length(x)-100 y{count} = x(ii:ii+100,:); coun...

environ 7 ans il y a | 0

Réponse apportée
How to display all values from the for loop in one variable
Try this (I had to make up your z values). Z = randi(5,[400,7]); for ii = 1:7 m{ii} = Z(:,ii:ii); end If you wanted t...

environ 7 ans il y a | 0

Réponse apportée
How to remove circle (magenta color circle) in front of legend?
Use the text function. A good example can be found here.

environ 7 ans il y a | 0

| A accepté

Réponse apportée
how to insert a calculated index to trim a data set?
Use a diffferent variable name then width, it is a function used for tables and is used by MATLAB. You also need to ensure that ...

environ 7 ans il y a | 0

Réponse apportée
How do I graph the portion of the sphere in the first octant?
[x y z] = sphere; r = 2; surf(x*r, y*r, z*r); xlim([0 2.5]) ylim([0 2.5]) zlim([0 2.5])

environ 7 ans il y a | 0

Réponse apportée
Plot this for me please
Looks fine to me. t = 0:0.01:3; x = 7.234e-7*cos(132.9*t) - 1.054e-6*exp(-1.0*t) - 5.901e-6*cos(70.71*t) - 5.444e-9*sin(132.9...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
Help with writing a function to check a users input
You were on the right track. To make it easier on yourself you can include a string inside the input function like I did below. ...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
constructing a background from a sequence of images
Place all your images in a folder called "imageFolder" which is in the same directory as your scripts and functions. Run this co...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
Please help me fix the count for the nested for-loop
I dont fully understand the end goal of your function but your error was coming from redefining Rn as well as some of your indic...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
luminance component of an image
Run the following: I = imread('test.png'); J = rgb2gray(I); rgb2gray uses the same formual which is used to calculate luminan...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
how to extract data with some condition
Try the code below. You will have to change it to your data but you should get the idea. % Generate a random matrix of interge...

environ 7 ans il y a | 4

| A accepté

Réponse apportée
How do I fix my graph?
Try the code below. Esentially I find the first instence when a value is greater than 260 and eliminate from that point to the e...

environ 7 ans il y a | 0

Réponse apportée
Unexpected result linspace function
It is due to round off error. Linspace documentation states the following regarding the fuction: If n is not an integer, linspac...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
I keep getting a syntax error on the 'if' function.
I may be mistaken but I have not seen this type of syntax used before in MATLAB. Try changing your function to something like th...

environ 7 ans il y a | 0

Réponse apportée
How do I loop a program that waits for a .dat file to be updated?
Depending on the size of your .dat file this may work for your application: while while ~isfile('steps.dat'); end ...

environ 7 ans il y a | 0

| A accepté

Réponse apportée
How to get rid of angles in MATLAB world map?
Access the figure handle and set the angle labels to be a blank string. This code will do it for you: close all h = worldmap...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
car model identification using image processing
Hello, this is a good project! It is more machine / deep learning than image processing though. I did a similar project for one ...

environ 7 ans il y a | 0

Réponse apportée
Loop through the vector 6x5800 and save data in excel file.Hi
Try this out (data file attached). When dealing with large data sets its better to use .csv then .xlsx. clear all data = dl...

environ 7 ans il y a | 0

Réponse apportée
Why is importdata bringing in cell array?
You might have better luck going through the file line by line. For example: f = fopen('test.csv'); lineCount = 1; tline = ...

environ 7 ans il y a | 0

| A accepté

Charger plus