taimour sadiq - MATLAB Central
photo

taimour sadiq


Last seen: 13 Tage vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

All
CodyMATLAB AnswersFrom 05/20 to 03/25Use left and right arrows to move selectionFrom 05/20Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANG
7.733
of 158.938

BEITRÄGE
0 Probleme
78 Lösungen

PUNKTESTAND
800

ANZAHL DER ABZEICHEN
1

  • Thankful Level 4
  • Explorer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


way to legend a data organized into colours in simple plot?
first_data = [[3 4 8 1];[3 6 4 9]]; % desired legend (first) & color (green) second_data = [[1 3 5];[3 2 7];[3 4 2]]; % desire...

13 Tage vor | 1 Antwort | 0

1

Antwort

Frage


How to load multiple mat file in sequence without natsortfiles?
if three files in my directory file1.mat file2.mat & file13.mat when i load it load in sequence file1.mat file13.mat file....

3 Monate vor | 1 Antwort | 0

1

Antwort

Frage


how to automate this manual code containing if else conditons?
i m creating a data based on values in variable seletion... if first value of selection is 1 it will pick data from Values cel...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How to save a multiple plots data with labels, title, legends and then plot again on uiaxes?
a = 0:0.01:2*pi; b = sin(a); c = cos(a);...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to display a saved .fig file in uiaxes appdesinger?
i have some .fig plot save in my folder and i want to display them in UIAxes Appdesinger.. My code is Path = 'C:\Folder\'; My...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


how to replace a specific line in a text file with user data?
clear Messege = 'Hello'; fileID = fopen('SampleFile.txt', 'rt'); textLine = fgetl(fileID); lineCounter = 1; while ischar(te...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to auto save workspace variable with specific path and filename without Popup?
d = 'Sunday'; y = 2017; path = 'E:\Matlab\'; filenam = 'Data'; % uisave({'d','w'},path) % this works with path but ask for ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to convert specified time to GMT/UTC?
i want to convert datetime({'18-Oct-2023 17:40:00' '18-Oct-2023 18:00:00'},'TimeZone','+05:00') to GMT or UTC? required resu...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


how two use winopen command with path assigned in a Variable?
winopen 'C:\My Folder' the above works fine, but i have path saved in a variable MyPath and want to use winopen command with p...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to add different shaded Color to the back ground of a graph?
a = 0:0.1:2*pi; b = sin(a); plot(a,b) i have written a simple code of sin wave.. i want to add diffrent background colours ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


how to give range in xlsread using edit text field in app designer?
i was to read a coloumn from xlsx file which is simple to implement as following columnB = xlsread(myExample.xlsx,'B:B'); ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


kmph to mps
convert kilometer per hour to meter per second

mehr als 3 Jahre vor

Gelöst


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

mehr als 3 Jahre vor

Gelöst


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

mehr als 3 Jahre vor

Gelöst


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

mehr als 3 Jahre vor

Gelöst


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

mehr als 3 Jahre vor

Gelöst


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<https://i.imgur.com/jlZDHhq.png>> Image courtesy of <http://up...

mehr als 3 Jahre vor

Gelöst


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

mehr als 3 Jahre vor

Gelöst


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

mehr als 3 Jahre vor

Gelöst


Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...

mehr als 3 Jahre vor

Gelöst


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

mehr als 3 Jahre vor

Gelöst


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

mehr als 3 Jahre vor

Gelöst


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

mehr als 3 Jahre vor

Gelöst


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

mehr als 3 Jahre vor

Gelöst


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

mehr als 3 Jahre vor

Gelöst


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

mehr als 3 Jahre vor

Gelöst


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

mehr als 3 Jahre vor

Gelöst


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

mehr als 3 Jahre vor

Gelöst


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

mehr als 3 Jahre vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

mehr als 3 Jahre vor

Mehr laden

Go to top of page