Beantwortet
I want to add the perimeter in so it checks the perimeter of each floor. but when I do it calculates the perimeter value for the loops a and b instead of just the space on b b
If you want to calculate the perimeter for each space on each floor, you can add the perimeter calculation inside the nested loo...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to obtain convergence of the curve to my boundary condtion?
It seems like you are trying to enforce the boundary condition T(1,:) = 1 and T(end,:) = 0 after the solution is computed in eac...

mehr als ein Jahr vor | 0

Beantwortet
Changing the plot parameters for the rfplot function
In the rfplot function, you can't directly pass the line properties as additional arguments like in the basic plot functions. In...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Create a signalDatastore from csv files
In your case, you can use a tabularTextDatastore to read the CSV files, and then use the SelectedVariableNames property to selec...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Contour Plot with Boolean Indices (z must be at least a 2x2 matrix)
The issue you're facing is due to the fact that when you use logical indexing with an uninitialized array like Z, MATLAB automat...

mehr als ein Jahr vor | 1

Beantwortet
FOR LOOP WITH CELLS: Index exceeds the number of array elements. Index must not exceed 3.
The issue occurs because you are using the same index i_maps to access both nameMaps_list and nameLesion_list. Since nameMaps_li...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to handle empty input arguments with the arguments block?
You can use the nargin function to handle empty input arguments with the arguments block. The nargin function returns the number...

mehr als ein Jahr vor | 0

Beantwortet
How can I save a geographically tilted image to a geoTiff file?
I think you can use the geotiffwrite function from the Mapping Toolbox, along with a transformation matrix that maps pixel coord...

mehr als ein Jahr vor | 0

Beantwortet
Count all pairwise interactions in a matrix
Hi, great question! Here is my attempt to solve this problem and if you find it helpful please accept the answer.. Thanks % ...

mehr als ein Jahr vor | 1

Beantwortet
finding x and y intercept
I think you can first calculate the x-intercepts by checking for sign changes in the y values, then using fzero to find the exac...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to calculate risk indicator for a portfolio as maximum drawdown, sortino ratio and ulcer index?
In your current code, you've implemented a portfolio optimization strategy using the Sharpe ratio. To calculate the maximum draw...

mehr als ein Jahr vor | 1

| akzeptiert

Frage


Taxi datset - lat lon colocation
Hi everyone, I’m practicing data science with NY Taxi data (https://www.kaggle.com/competitions/nyc-taxi-trip-duration/data). ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to split a string and make multiple rows from the original data for each split?
Hi everyone, I have an excel sheet with some students data and it has 11 columns and about 500 rows. I want to manipulate data...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

mehr als 2 Jahre vor

Beantwortet
Add variables from one timetable to another
Hi, I think you could easily achieve that using outerjoin function. First, extract your data from TT2 and give it a name such ...

etwa 3 Jahre vor | 0

Beantwortet
how to do the following logic in matlab from excel?
@Vishnuvardhan Naidu Tanga Hi, First step is to Clean your data and name your columns something won’t confuse MATALB something...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
Is there are so more programming related courses are there?
@SWAPNIL CHAVAN Hi, There are plenty of programming courses out there however you didn’t specify what programming language you...

etwa 3 Jahre vor | 0

Frage


Unrecognized table row name
Hello everyone, I have a table and I want to subscript using a column contain a string array. Basically, the column is repeate...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Saving and appending for loop results from every run
Hi everyone, I have a dataset with countries and lat/lon columns. I want to measure the distance between the countries. I used...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


If statement or strcmp to compare names.
Hi everyone, I have two excel sheets, the first one has three columns names, score and extra activities. The second column has...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


User input as a variable.
Hi everyone, I have a pretty basic question here! I’m writing a script asking the user for an input and I want to use that inp...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find duplicate entries and sum up their associated values then put everything back in a table
Hello everyone, I have an excel sheet with two columns. The first column is a list of names, and the second column is the scor...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to display the actual values of my percentages on a pie chart
Hello everyone, this is a basic question for many of you and I would really appreciate if you can take the time and explain to m...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Return variables or elements with similar corresponding values
Hi all, I have an excel sheet with two columns. It's basically a list of big cities in the world and the population of each on...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


compare two columns and their corresponding values from two different excel files
Hi, I’m trying to compare two columns and their corresponding values from two different excel files. I want to know what value...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

fast 4 Jahre vor

Gelöst


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

fast 4 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...

fast 4 Jahre vor

Gelöst


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

mehr als 4 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

mehr als 4 Jahre vor

Mehr laden